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>
This commit is contained in:
Stephan Bergmann
2019-11-11 09:32:13 +01:00
parent 7757c28d6e
commit 17dbe7d777

View File

@@ -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;
}