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

Noel (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 5 16:25:27 UTC 2020


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

New commits:
commit 69427182555bb5d9faff61cf29e4973f8800d574
Author:     Noel <noelgrandin at gmail.com>
AuthorDate: Thu Nov 5 14:05:55 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Nov 5 17:24:34 2020 +0100

    StartElement->startFastElement in sc
    
    Change-Id: Ic6f106fd77b200ded466d3de1cc31b83dce6ba08
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105343
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/filter/xml/xmlannoi.cxx b/sc/source/filter/xml/xmlannoi.cxx
index 3a0ba33e2322..67ec0d50aee5 100644
--- a/sc/source/filter/xml/xmlannoi.cxx
+++ b/sc/source/filter/xml/xmlannoi.cxx
@@ -107,10 +107,10 @@ ScXMLAnnotationContext::~ScXMLAnnotationContext()
 {
 }
 
-void ScXMLAnnotationContext::StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList)
+void ScXMLAnnotationContext::startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList)
 {
     if (pShapeContext)
-        pShapeContext->StartElement(xAttrList);
+        pShapeContext->startFastElement(nElement, xAttrList);
 }
 
 SvXMLImportContextRef ScXMLAnnotationContext::CreateChildContext( sal_uInt16 nPrefix,
diff --git a/sc/source/filter/xml/xmlannoi.hxx b/sc/source/filter/xml/xmlannoi.hxx
index d9bf57382710..7b8541df5986 100644
--- a/sc/source/filter/xml/xmlannoi.hxx
+++ b/sc/source/filter/xml/xmlannoi.hxx
@@ -79,7 +79,7 @@ public:
                                      const OUString& rLocalName,
                                      const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
 
-    virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList) override;
+    virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList) override;
 
     virtual void SAL_CALL characters( const OUString& rChars ) override;
 


More information about the Libreoffice-commits mailing list