From 6e3192f27537be36815440f3886891eecc9edf6a Mon Sep 17 00:00:00 2001 From: buster Date: Sat, 11 Jul 1998 00:47:29 +0000 Subject: [PATCH] fixed unix build, and one small uninitialized variable problem --- layout/html/table/src/nsCellMap.h | 2 +- layout/html/table/src/nsTableRowFrame.cpp | 2 +- layout/tables/nsCellMap.h | 2 +- layout/tables/nsTableRowFrame.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/html/table/src/nsCellMap.h b/layout/html/table/src/nsCellMap.h index 998b53feac96..72961a4643a2 100644 --- a/layout/html/table/src/nsCellMap.h +++ b/layout/html/table/src/nsCellMap.h @@ -19,7 +19,7 @@ #define nsCellMap_h__ #include "nscore.h" -#include "CellData.h" +#include "celldata.h" class nsVoidArray; class nsTableColFrame; diff --git a/layout/html/table/src/nsTableRowFrame.cpp b/layout/html/table/src/nsTableRowFrame.cpp index 06480059afc5..6eebbb1a96ea 100644 --- a/layout/html/table/src/nsTableRowFrame.cpp +++ b/layout/html/table/src/nsTableRowFrame.cpp @@ -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) ? diff --git a/layout/tables/nsCellMap.h b/layout/tables/nsCellMap.h index 998b53feac96..72961a4643a2 100644 --- a/layout/tables/nsCellMap.h +++ b/layout/tables/nsCellMap.h @@ -19,7 +19,7 @@ #define nsCellMap_h__ #include "nscore.h" -#include "CellData.h" +#include "celldata.h" class nsVoidArray; class nsTableColFrame; diff --git a/layout/tables/nsTableRowFrame.cpp b/layout/tables/nsTableRowFrame.cpp index 06480059afc5..6eebbb1a96ea 100644 --- a/layout/tables/nsTableRowFrame.cpp +++ b/layout/tables/nsTableRowFrame.cpp @@ -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) ?