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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 23 06:49:59 UTC 2020


 include/xmloff/xmlimp.hxx     |    2 --
 xmloff/source/core/xmlimp.cxx |   14 --------------
 2 files changed, 16 deletions(-)

New commits:
commit 3a2338ca6202525de958bc958b4e8531c96955a1
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Thu Oct 22 18:33:10 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Oct 23 08:49:19 2020 +0200

    remove debug code from SvXMLImport
    
    accidentally committed in
        commit fe2b4e7dc6533535736a8f08496f316427386179
        Date:   Tue Oct 6 18:27:27 2020 +0200
        make SvXMLImport fast-parser only
    
    Change-Id: I5fb46399f6e562cc289859ef13998dfafaae6a7d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104693
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 43a5b5ca729a..bfc2cbeb028f 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -301,8 +301,6 @@ public:
 
     virtual ~SvXMLImport() throw() override;
 
-    virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& _rType ) override;
-
     void startElement(const OUString& aName,
         const css::uno::Reference< css::xml::sax::XAttributeList > & xAttribs);
     void endElement(const OUString& aName);
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index fc79f79992b7..5a6bddd4192a 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -2162,20 +2162,6 @@ void SvXMLImport::NotifyMacroEventRead()
     mbNotifyMacroEventRead = true;
 }
 
-css::uno::Any SvXMLImport::queryInterface(css::uno::Type const & aType)
-{
-    assert( aType != cppu::UnoType<css::xml::sax::XDocumentHandler>::get() );
-    assert( aType != cppu::UnoType<css::xml::sax::XExtendedDocumentHandler>::get() );
-    return  cppu::WeakImplHelper<
-             css::xml::sax::XFastDocumentHandler,
-             css::lang::XServiceInfo,
-             css::lang::XInitialization,
-             css::document::XImporter,
-             css::document::XFilter,
-             css::lang::XUnoTunnel,
-             css::xml::sax::XFastParser>::queryInterface(aType);
-}
-
 SvXMLImportFastNamespaceHandler::SvXMLImportFastNamespaceHandler()
 {
 }


More information about the Libreoffice-commits mailing list