The last few instanceOf uses?

This commit is contained in:
2025-08-09 06:09:12 -04:00
parent 31531b6cba
commit 0e6984196b
4 changed files with 12 additions and 12 deletions

View File

@ -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;
}
}