diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:38:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:47:31 +0200 |
commit | e15fc694912e930957ca4402c7ec0027231a0f56 (patch) | |
tree | 9204a440df2f123f71dc7c095961062177b61f4a /basctl | |
parent | 62c564ccd2e2e665e56c2440e827c7aca330a46c (diff) |
loplugin:redundantcast: redundant static_casts in basctl
Change-Id: Iac1a400f37ee25bfbebbe95bb22f9708581899f4
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 |