starmath/source/unomodel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit aff0c2f2baa98429dff69211dddcb47b4cdf4d91 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Sep 27 09:21:26 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Sep 27 12:11:48 2019 +0200 cid#1448524 silence Unchecked dynamic_cast Change-Id: I9ba17a4a31382850b76c98bb435e63eb19ee7903 Reviewed-on: https://gerrit.libreoffice.org/79677 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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 ), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits