From af068c36c65f8ed482e774fcf5346704ae7a2717 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Aug 2020 21:37:56 +0200 Subject: use fastparser in SdXMLStylesContext Change-Id: Idd15d117d71e607691bec9911ff0cc194ca5ce01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101093 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/ximpstyl.cxx | 2 +- xmloff/source/draw/ximpstyl.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/draw') diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 51058a1f36d1..6aee9df7f8ac 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -1076,7 +1076,7 @@ rtl::Reference< SvXMLImportPropertyMapper > SdXMLStylesContext::GetImportPropert // Process all style and object info -void SdXMLStylesContext::EndElement() +void SdXMLStylesContext::endFastElement(sal_Int32 ) { if(mbIsAutoStyle) { diff --git a/xmloff/source/draw/ximpstyl.hxx b/xmloff/source/draw/ximpstyl.hxx index 3885d405141b..d3922a8eb326 100644 --- a/xmloff/source/draw/ximpstyl.hxx +++ b/xmloff/source/draw/ximpstyl.hxx @@ -210,7 +210,7 @@ public: SdXMLImport& rImport, bool bIsAutoStyle); - virtual void EndElement() override; + virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual rtl::Reference< SvXMLImportPropertyMapper > GetImportPropertyMapper(XmlStyleFamily nFamily) const override; void SetMasterPageStyles(SdXMLMasterPageContext const & rMaster) const; -- cgit