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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 5 07:23:25 UTC 2020


 sc/source/filter/xml/xmlstyli.cxx |    4 ++--
 sc/source/filter/xml/xmlstyli.hxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7d6420aee31328a11634d443602a26f671436c76
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Mar 4 15:22:55 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Mar 5 08:22:36 2020 +0100

    use FastParser in XMLTableStylesContext
    
    Change-Id: If06d8cfc856aa5180199bce2bc747fa9bd667bb0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89994
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 7baf38fae5d1..39b1511cee22 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -696,9 +696,9 @@ XMLTableStylesContext::~XMLTableStylesContext()
 {
 }
 
-void XMLTableStylesContext::EndElement()
+void XMLTableStylesContext::endFastElement(sal_Int32 nElement)
 {
-    SvXMLStylesContext::EndElement();
+    SvXMLStylesContext::endFastElement(nElement);
     if (bAutoStyles)
         GetImport().GetTextImport()->SetAutoStyles( this );
     else
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 8031e5f90ad0..09542b47dc81 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -155,7 +155,7 @@ public:
     XMLTableStylesContext( SvXMLImport& rImport, bool bAutoStyles );
     virtual ~XMLTableStylesContext() override;
 
-    virtual void EndElement() override;
+    virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
 
     virtual rtl::Reference < SvXMLImportPropertyMapper > GetImportPropertyMapper(
                         XmlStyleFamily nFamily ) const override;


More information about the Libreoffice-commits mailing list