The last few instanceOf
uses?
This commit is contained in:
@ -607,8 +607,8 @@ AlignedTableCell *Table::getCellRef ()
|
||||
int n = curCol + row * numCols;
|
||||
if (childDefined (n)) {
|
||||
child = children->get(n)->cell.widget;
|
||||
if (child->instanceOf <AlignedTableCell>())
|
||||
return (AlignedTableCell*)child;
|
||||
if (auto *atc= dynamic_cast< AlignedTableCell * >( child ))
|
||||
return atc;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user