[Libreoffice-commits] core.git: xmloff/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 11 09:39:08 UTC 2019


 xmloff/source/core/xmlictxt.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 17dbe7d777658ed861c998fb18d664a6eafb4c09
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Nov 11 09:32:13 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Nov 11 10:38:21 2019 +0100

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list