diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/geometrycontrolmodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx index 8f576dc7c312..fedcd4dc1d29 100644 --- a/toolkit/source/controls/geometrycontrolmodel.cxx +++ b/toolkit/source/controls/geometrycontrolmodel.cxx @@ -420,7 +420,7 @@ Reference< XNameContainer > SAL_CALL OGeometryControlModel_Base::getEvents() { if( !mxEventContainer.is() ) - mxEventContainer = static_cast<XNameContainer*>(new toolkit::ScriptEventContainer()); + mxEventContainer = new toolkit::ScriptEventContainer(); return mxEventContainer; } |