diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-17 10:48:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-17 11:50:36 +0200 |
commit | 993e075c909a609c8a2af80afc1080672d724ac5 (patch) | |
tree | cbacbed0a160351750401a63193dc9ff60f1fe50 /starmath/source/unomodel.cxx | |
parent | 1a94cd8257ef4c462eaaa6d49bf4f26c9ac56a5e (diff) |
simplify SmModel::queryInterface
these two are redundant, the base class queryInterface already handles
them
Change-Id: I047b32941c104a03a994e0553d80c4ead2b967df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141444
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r-- | starmath/source/unomodel.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 42f377f27ce9..3c0d750f5737 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -320,9 +320,6 @@ SmModel::~SmModel() noexcept 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)), - static_cast< XWeak* > ( this ), // PropertySetHelper interfaces static_cast< XPropertySet* > ( this ), static_cast< XMultiPropertySet* > ( this ), |