diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedfac.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedfac.cxx b/basctl/source/dlged/dlgedfac.cxx index c5aefca066d5..496a34194699 100644 --- a/basctl/source/dlged/dlgedfac.cxx +++ b/basctl/source/dlged/dlgedfac.cxx @@ -108,7 +108,7 @@ IMPL_LINK_TYPED( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory, void ) else { pNew = new DlgEdObj( "com.sun.star.form.component.ComboBox", xDialogSFact ); - static_cast< DlgEdObj* >( pNew )->MakeDataAware( mxModel ); + pNew->MakeDataAware( mxModel ); } pObjFactory->pNewObj = pNew; try @@ -157,7 +157,7 @@ IMPL_LINK_TYPED( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory, void ) else { pNew = new DlgEdObj( "com.sun.star.form.component.ScrollBar", xDialogSFact ); - static_cast< DlgEdObj* >( pNew )->MakeDataAware( mxModel ); + pNew->MakeDataAware( mxModel ); } pObjFactory->pNewObj = pNew; // set vertical orientation |