Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h

git-svn-id: svn://10.0.0.236/trunk@1588 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-05-14 00:49:46 +00:00
parent 4ba0b9750b
commit 368de8a159
9 changed files with 28 additions and 28 deletions

View File

@@ -764,7 +764,7 @@ nsReflowStatus nsTableFrame::ResizeReflowPass2(nsIPresContext* aPresContext,
if (nsnull != mFirstChild) {
reflowMappedOK = ReflowMappedChildren(aPresContext, state, aMaxElementSize);
if (PR_FALSE == reflowMappedOK) {
status = 0; // not complete
status = NS_FRAME_NOT_COMPLETE;
}
}
@@ -774,7 +774,7 @@ nsReflowStatus nsTableFrame::ResizeReflowPass2(nsIPresContext* aPresContext,
if (state.availSize.height <= 0) {
// No space left. Don't try to pull-up children or reflow unmapped
if (NextChildOffset() < mContent->ChildCount()) {
status = 0; // not complete
status = NS_FRAME_NOT_COMPLETE;
}
} else if (NextChildOffset() < mContent->ChildCount()) {
// Try and pull-up some children from a next-in-flow
@@ -786,7 +786,7 @@ nsReflowStatus nsTableFrame::ResizeReflowPass2(nsIPresContext* aPresContext,
} else {
// We were unable to pull-up all the existing frames from the
// next in flow
status = 0; // not complete
status = NS_FRAME_NOT_COMPLETE;
}
}
}
@@ -1373,7 +1373,7 @@ nsTableFrame::ReflowUnmappedChildren(nsIPresContext* aPresContext,
VerifyLastIsComplete();
#endif
nsIFrame* kidPrevInFlow = nsnull;
nsReflowStatus result = 0; // not complete
nsReflowStatus result = NS_FRAME_NOT_COMPLETE;
// If we have no children and we have a prev-in-flow then we need to pick
// up where it left off. If we have children, e.g. we're being resized, then