diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 823f864a458e..ad21f46a002c 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -317,7 +317,7 @@ uno::Any SAL_CALL SmModel::queryInterface( const uno::Type& rType ) { uno::Any aRet = ::cppu::queryInterface ( rType, // OWeakObject interfaces - dynamic_cast< XInterface* > ( static_cast< XUnoTunnel* > ( this )), + &dynamic_cast<XInterface&>(static_cast<XUnoTunnel&>(*this)), static_cast< XWeak* > ( this ), // PropertySetHelper interfaces static_cast< XPropertySet* > ( this ), |