diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-04 15:12:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-05 07:23:00 +0100 |
commit | 5c5bbdd1b7e77499ea71aa7c57f7287bb063bf79 (patch) | |
tree | 6ea9f7ec10f6a0ee42de2cbcb78e975e4f800728 /dbaccess | |
parent | 9f6ae57d6a60d54a72243095a6e4c0fc8f6bda07 (diff) |
use FastParser in OTableStylesContext
Change-Id: I5f893528b593f4511e471ce202bddb3720786ae1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89992
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlStyleImport.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/xmlStyleImport.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/xml/xmlStyleImport.cxx b/dbaccess/source/filter/xml/xmlStyleImport.cxx index e308f23d5c54..9bfed000e432 100644 --- a/dbaccess/source/filter/xml/xmlStyleImport.cxx +++ b/dbaccess/source/filter/xml/xmlStyleImport.cxx @@ -149,9 +149,9 @@ OTableStylesContext::~OTableStylesContext() } -void OTableStylesContext::EndElement() +void OTableStylesContext::endFastElement(sal_Int32 nElement) { - SvXMLStylesContext::EndElement(); + SvXMLStylesContext::endFastElement(nElement); if (bAutoStyles) GetImport().GetTextImport()->SetAutoStyles( this ); else diff --git a/dbaccess/source/filter/xml/xmlStyleImport.hxx b/dbaccess/source/filter/xml/xmlStyleImport.hxx index 06c02bf16291..8eeb7ac7dd54 100644 --- a/dbaccess/source/filter/xml/xmlStyleImport.hxx +++ b/dbaccess/source/filter/xml/xmlStyleImport.hxx @@ -89,7 +89,7 @@ namespace dbaxml OTableStylesContext( SvXMLImport& rImport, bool bAutoStyles ); virtual ~OTableStylesContext() override; - virtual void EndElement() override; + virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual rtl::Reference < SvXMLImportPropertyMapper > GetImportPropertyMapper( XmlStyleFamily nFamily ) const override; |