summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-04 15:22:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-05 08:22:36 +0100
commit7d6420aee31328a11634d443602a26f671436c76 (patch)
tree423ad24a119aee887929b130837696cf249d14ba /sc
parent5c5bbdd1b7e77499ea71aa7c57f7287bb063bf79 (diff)
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@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx4
-rw-r--r--sc/source/filter/xml/xmlstyli.hxx2
2 files changed, 3 insertions, 3 deletions
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;