summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-03 04:25:11 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-03 04:35:14 +0100
commit30975b96e84ac313eb220a1d4812e42013780b95 (patch)
tree09be7b4f32ad6c46c5dd9983ea1d3012061b961d /basctl
parenta51cd484c6de3513a331bfe23c3b184b30ac6a21 (diff)
coverity#736107: nesting level mismatch
Change-Id: I24655d0e87335ac0356a1082fd993a87613e213e
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedfac.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basctl/source/dlged/dlgedfac.cxx b/basctl/source/dlged/dlgedfac.cxx
index 9c117ebb3da0..1ffbff22968d 100644
--- a/basctl/source/dlged/dlgedfac.cxx
+++ b/basctl/source/dlged/dlgedfac.cxx
@@ -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: