The last few instanceOf
uses?
This commit is contained in:
@ -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]);
|
||||
|
Reference in New Issue
Block a user