diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-27 09:21:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-27 12:11:48 +0200 |
commit | aff0c2f2baa98429dff69211dddcb47b4cdf4d91 (patch) | |
tree | b80046f1c3c6aaa4a0feb08cbbe0344af8c250f9 /starmath | |
parent | 66fe473fb66b76352039e3618bab43a281d5cdca (diff) |
cid#1448524 silence Unchecked dynamic_cast
Change-Id: I9ba17a4a31382850b76c98bb435e63eb19ee7903
Reviewed-on: https://gerrit.libreoffice.org/79677
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 ), |