summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-12-16 23:02:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-12-19 12:57:29 +0000
commit4d6c23216559eb48f9943bb49d6e475a6d64ba15 (patch)
tree99a907237afacf57a9016b185cda8cdb25e071c1 /starmath/source/unomodel.cxx
parent1e4709f47dec87d5d2b66f3de222588c3babaf18 (diff)
loplugin:unocast (oox::ForumlaImExportBase)
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: I11bc363447c44319bc47f7eebb7084f64ea85511 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144400 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index b7a92567fe25..a4b14671b63d 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -361,6 +361,7 @@ const uno::Sequence< sal_Int8 > & SmModel::getUnoTunnelId()
sal_Int64 SAL_CALL SmModel::getSomething( const uno::Sequence< sal_Int8 >& rId )
{
return comphelper::getSomethingImpl(rId, this,
+ comphelper::MixinToGetSomethingOf<FormulaImExportBase>{},
comphelper::FallbackToGetSomethingOf<SfxBaseModel>{});
}