summaryrefslogtreecommitdiff
path: root/starmath/source/mathml/mathmlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathml/mathmlimport.cxx')
-rw-r--r--starmath/source/mathml/mathmlimport.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/mathml/mathmlimport.cxx b/starmath/source/mathml/mathmlimport.cxx
index db5426cd927b..e2db20a6d376 100644
--- a/starmath/source/mathml/mathmlimport.cxx
+++ b/starmath/source/mathml/mathmlimport.cxx
@@ -438,10 +438,8 @@ Math_XMLOasisSettingsImporter_get_implementation(uno::XComponentContext* pCtx,
sal_Int64 SAL_CALL SmXMLImport::getSomething(const uno::Sequence<sal_Int8>& rId)
{
- if (comphelper::isUnoTunnelId<SmXMLImport>(rId))
- return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
-
- return SvXMLImport::getSomething(rId);
+ return comphelper::getSomethingImpl(rId, this,
+ comphelper::FallbackToGetSomethingOf<SvXMLImport>{});
}
void SmXMLImport::endDocument()