fixed unix build, and one small uninitialized variable problem

This commit is contained in:
buster 1998-07-11 00:47:29 +00:00
parent 4bbedae459
commit 6e3192f275
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
#define nsCellMap_h__
#include "nscore.h"
#include "CellData.h"
#include "celldata.h"
class nsVoidArray;
class nsTableColFrame;

View File

@ -333,7 +333,7 @@ nsresult nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
{
NS_PRECONDITION(nsnull != mFirstChild, "no children");
nsSize kidMaxElementSize;
nsSize kidMaxElementSize(0,0);
PRBool result = PR_TRUE;
PRInt32 prevColIndex = -1; // remember the col index of the previous cell to handle rowspans into this row
nsSize* pKidMaxElementSize = (nsnull != aDesiredSize.maxElementSize) ?

View File

@ -19,7 +19,7 @@
#define nsCellMap_h__
#include "nscore.h"
#include "CellData.h"
#include "celldata.h"
class nsVoidArray;
class nsTableColFrame;

View File

@ -333,7 +333,7 @@ nsresult nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
{
NS_PRECONDITION(nsnull != mFirstChild, "no children");
nsSize kidMaxElementSize;
nsSize kidMaxElementSize(0,0);
PRBool result = PR_TRUE;
PRInt32 prevColIndex = -1; // remember the col index of the previous cell to handle rowspans into this row
nsSize* pKidMaxElementSize = (nsnull != aDesiredSize.maxElementSize) ?