From 4487a14e7cce62e4fb6c1ebddac5f3e713c061de Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 20 Sep 2020 14:53:51 +0200 Subject: loplugin:xmlimport check for bad conversions to fastparser add a check for classes which have been partly converted to fastparser, but not completedly. This is to help me when I convert stuff. and it uncovers a bug introduced with commit 998308c363dfad03143591aa18256d2669b4da11 use more FastParser in SvXMLStylesContext Change-Id: Ib50e7136da10a1a7a346102aa47efef2f543e2ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102669 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/source/filter/xml/xmlfilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index e5d84148f61f..5c65664625f3 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -93,7 +93,7 @@ public: RptMLMasterStylesContext_Impl(const RptMLMasterStylesContext_Impl&) = delete; RptMLMasterStylesContext_Impl& operator=(const RptMLMasterStylesContext_Impl&) = delete; - virtual void EndElement() override; + virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; } @@ -103,7 +103,7 @@ RptMLMasterStylesContext_Impl::RptMLMasterStylesContext_Impl( ORptFilter& rImpor { } -void RptMLMasterStylesContext_Impl::EndElement() +void RptMLMasterStylesContext_Impl::endFastElement(sal_Int32 ) { FinishStyles( true ); GetImport().FinishStyles(); -- cgit