minor interface cleanup

This commit is contained in:
buster@netscape.com
1998-10-02 20:36:35 +00:00
parent 00fd82459f
commit 11cb76362f
8 changed files with 70 additions and 48 deletions

View File

@@ -417,10 +417,9 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext& aPresContext,
if (0!=pMaxElementSize->width)
aDesiredSize.maxElementSize->width += leftInset + rightInset;
}
// remember my desired size for this reflow
SetDesiredSize(aDesiredSize);
if (nsnull!=aDesiredSize.maxElementSize)
SetMaxElementSize(*(aDesiredSize.maxElementSize));
if (PR_TRUE==gsDebug || PR_TRUE==gsDebugNT)
printf(" %p cellFrame returning aDesiredSize=%d,%d\n",
this, aDesiredSize.width, aDesiredSize.height);