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

@ -195,8 +195,9 @@ void OOFAwareWidget::notifySetParent ()
widget != NULL && oofContainer[oofmIndex] == NULL;
widget = widget->getParent ())
if (isOOFContainer (widget, oofmIndex)) {
assert (widget->instanceOf <OOFAwareWidget>());
oofContainer[oofmIndex] = (OOFAwareWidget*)widget;
auto *oaw= dynamic_cast< OOFAwareWidget * >( widget );
assert (oaw);
oofContainer[oofmIndex]= oaw;
}
DBG_OBJ_ARRSET_PTR ("oofContainer", oofmIndex, oofContainer[oofmIndex]);