summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-11 09:32:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-11 10:38:21 +0100
commit17dbe7d777658ed861c998fb18d664a6eafb4c09 (patch)
tree2cdb1285dbfb55daa3bab48cf4e672c582ed854c /xmloff
parent7757c28d6e60ba2871b2edfa2c68a28bc8026995 (diff)
Fix SvXMLImportContext::queryInterface for now
...introduced with <https://gerrit.libreoffice.org/#/c/82139/> "tdf#125688 removing XWeak support from SvXMLImportContext", even if that whole commit is likely to be redone differently again (see Gerrit comments there) Change-Id: I5b88400181efd76a896d07676230b0e7cb75f1f0 Reviewed-on: https://gerrit.libreoffice.org/82417 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlictxt.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index 8e31d497ab8e..092b1845c18c 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -152,7 +152,8 @@ css::uno::Any SAL_CALL SvXMLImportContext::queryInterface( const css::uno::Type&
css::uno::Any a = ::cppu::queryInterface(
aType,
static_cast< XFastContextHandler* >(this),
- static_cast< XTypeProvider* >(this));
+ static_cast< XTypeProvider* >(this),
+ static_cast< css::uno::XInterface* >(static_cast< XFastContextHandler* >(this)));
return a;
}