diff options
Diffstat (limited to 'svx/source/form/fmdpage.cxx')
-rw-r--r-- | svx/source/form/fmdpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx index 73bbae161c87..83311247c4a9 100644 --- a/svx/source/form/fmdpage.cxx +++ b/svx/source/form/fmdpage.cxx @@ -84,7 +84,7 @@ SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Referen { if( FmFormInventor == pObj->GetObjInventor() ) { - ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape = (SvxShape*)new SvxShapeControl( pObj ); + ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape = static_cast<SvxShape*>(new SvxShapeControl( pObj )); return xShape; } else |