Changed nsIFrame member functions to return a nsresult
git-svn-id: svn://10.0.0.236/trunk@346 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -100,7 +100,9 @@ PRInt32 nsColLayoutData::IndexOf(nsTableCell* aTableCell) const
|
||||
nsTableCellFrame* frame = cellData->GetCellFrame();
|
||||
if (frame != nsnull)
|
||||
{
|
||||
nsTableCell* cell = (nsTableCell*)frame->GetContent();
|
||||
nsTableCell* cell;
|
||||
|
||||
frame->GetContent((nsIContent*&)cell);
|
||||
if (cell == aTableCell)
|
||||
{
|
||||
result = index;
|
||||
|
||||
Reference in New Issue
Block a user