return colIndex;
PRInt32 nsTableFrame::AppendCell(nsIPresContext&   aPresContext,                                 nsTableCellFrame& aCellFrame,                                 PRInt32           aRowIndex){  PRInt32 colIndex = 0;  nsTableCellMap* cellMap = GetCellMap();  if (cellMap) {    colIndex = cellMap->AppendCell(aCellFrame, aRowIndex, PR_TRUE);    PRInt32 numColsInMap   = GetColCount();    PRInt32 numColsInCache = mColFrames.Count();    PRInt32 numColsToAdd = numColsInMap - numColsInCache;    if (numColsToAdd > 0) {      // this sets the child list, updates the col cache and cell map      CreateAnonymousColFrames(aPresContext, numColsToAdd, eColAnonymousCell, PR_TRUE);     }  }  return colIndex;}