From b0ac9cf5cbaa7cc4a5ec9968e302d61a9a8ec17d Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Thu, 13 Jan 2000 20:58:24 +0000 Subject: [PATCH] *** empty log message *** --- layout/html/table/src/nsCellMap.cpp | 8 ++++---- layout/tables/nsCellMap.cpp | 8 ++++---- layout/xul/base/src/nsTreeRowGroupFrame.cpp | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/layout/html/table/src/nsCellMap.cpp b/layout/html/table/src/nsCellMap.cpp index 8a2a13461905..416ea85e2e55 100644 --- a/layout/html/table/src/nsCellMap.cpp +++ b/layout/html/table/src/nsCellMap.cpp @@ -265,10 +265,10 @@ nsTableCellMap::InsertRows(nsTableRowGroupFrame& aParent, rowIndex -= cellMap->GetRowCount(); cellMap = cellMap->GetNextSibling(); } - // if we get here it is because of a nested tree row group - if (mFirstMap) { - mFirstMap->InsertRows(*this, aRows, aFirstRowIndex, aConsiderSpans); - } + + NS_ASSERTION(PR_FALSE, "Attempt to insert row into wrong map."); + /*if (mFirstMap) + mFirstMap->InsertRows(*this, aRows, aFirstRowIndex, aConsiderSpans);*/ } void diff --git a/layout/tables/nsCellMap.cpp b/layout/tables/nsCellMap.cpp index 8a2a13461905..416ea85e2e55 100644 --- a/layout/tables/nsCellMap.cpp +++ b/layout/tables/nsCellMap.cpp @@ -265,10 +265,10 @@ nsTableCellMap::InsertRows(nsTableRowGroupFrame& aParent, rowIndex -= cellMap->GetRowCount(); cellMap = cellMap->GetNextSibling(); } - // if we get here it is because of a nested tree row group - if (mFirstMap) { - mFirstMap->InsertRows(*this, aRows, aFirstRowIndex, aConsiderSpans); - } + + NS_ASSERTION(PR_FALSE, "Attempt to insert row into wrong map."); + /*if (mFirstMap) + mFirstMap->InsertRows(*this, aRows, aFirstRowIndex, aConsiderSpans);*/ } void diff --git a/layout/xul/base/src/nsTreeRowGroupFrame.cpp b/layout/xul/base/src/nsTreeRowGroupFrame.cpp index cce3eb1f4892..4c877c2bc3e7 100644 --- a/layout/xul/base/src/nsTreeRowGroupFrame.cpp +++ b/layout/xul/base/src/nsTreeRowGroupFrame.cpp @@ -1368,10 +1368,10 @@ nsTreeRowGroupFrame::GetNextFrameForReflow(nsIPresContext* aPresContext, nsIFram //PostAppendRow(*aResult, aPresContext, tableFrame->GetColCount()); } } - - mBottomFrame = *aResult; - return; } + + mBottomFrame = *aResult; + return; } NS_IMETHODIMP