b=26792 r=karnaze@netscape.com Change to SplitRowGroup to handle the

case where GetCellInfoAt() returns NULL


git-svn-id: svn://10.0.0.236/trunk@67969 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
2000-05-02 23:47:01 +00:00
parent f5a1f3e74d
commit 31435f5938
2 changed files with 8 additions and 2 deletions

View File

@@ -947,7 +947,10 @@ nsTableRowGroupFrame::SplitRowGroup(nsIPresContext* aPresContext,
for (PRInt32 colIndex = 0; colIndex < colCount; colIndex++) {
nsTableCellFrame* cellFrame = aTableFrame->GetCellInfoAt(rowIndex, colIndex);
NS_ASSERTION(cellFrame, "no cell frame");
if (!cellFrame) {
// There is no cell at this column index. Go check the next column index
continue;
}
// See if the cell frame is really in this row, or whether it's a
// row span from a previous row