summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-04 15:20:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-05 08:22:54 +0100
commit5c44f44147b5490cc792949989f4baba2137beed (patch)
treec4c99553948f5bdc3f8411540322472c4172078b /sc
parent7d6420aee31328a11634d443602a26f671436c76 (diff)
use FastParser in ScXMLMasterStylesContext
Change-Id: I432a3b5a1087a50b2cdc959b42bc58209a6cedfc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89993 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx2
-rw-r--r--sc/source/filter/xml/xmlstyli.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 39b1511cee22..b83f6cf06a45 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -943,7 +943,7 @@ SvXMLStyleContext *ScXMLMasterStylesContext::CreateStyleStyleChildContext(
return nullptr;
}
-void ScXMLMasterStylesContext::EndElement()
+void ScXMLMasterStylesContext::endFastElement(sal_Int32 )
{
FinishStyles(true);
}
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 09542b47dc81..1bbb01ee145c 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -184,7 +184,7 @@ public:
ScXMLMasterStylesContext( SvXMLImport& rImport );
virtual ~ScXMLMasterStylesContext() override;
- virtual void EndElement() override;
+ virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
class ScMasterPageContext : public XMLTextMasterPageContext