Kaydet (Commit) 30975b96 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#736107: nesting level mismatch

Change-Id: I24655d0e87335ac0356a1082fd993a87613e213e
üst a51cd484
......@@ -84,8 +84,10 @@ IMPL_LINK( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory )
if ( pObjFactory->nIdentifier == OBJ_DLG_CHECKBOX )
pObjFactory->pNewObj = new DlgEdObj( "com.sun.star.awt.UnoControlCheckBoxModel", xDialogSFact );
else
{
pObjFactory->pNewObj = new DlgEdObj( "com.sun.star.form.component.CheckBox", xDialogSFact );
static_cast< DlgEdObj* >( pObjFactory->pNewObj )->MakeDataAware( mxModel );
}
break;
case OBJ_DLG_FORMLIST:
case OBJ_DLG_LISTBOX:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment