xmloff/inc/XMLTextHeaderFooterContext.hxx | 7 +++---- xmloff/source/text/XMLTextHeaderFooterContext.cxx | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-)
New commits: commit 8a4d1cc66bc728c68002a415e5aecabbf5ec433b Author: Noel <noelgran...@gmail.com> AuthorDate: Wed Dec 2 14:40:05 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Dec 3 08:03:09 2020 +0100 fastparser in XMLTextHeaderFooterContext Change-Id: I7a330789dd64a259607c6b9b1ea6a3c139457a92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107128 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/xmloff/inc/XMLTextHeaderFooterContext.hxx b/xmloff/inc/XMLTextHeaderFooterContext.hxx index 9e0a0b86cec9..350e9a747d66 100644 --- a/xmloff/inc/XMLTextHeaderFooterContext.hxx +++ b/xmloff/inc/XMLTextHeaderFooterContext.hxx @@ -50,10 +50,9 @@ public: virtual ~XMLTextHeaderFooterContext() override; - virtual SvXMLImportContextRef CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override; + virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; }; diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx index 1bb70bdd081e..356e50f7260e 100644 --- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx +++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx @@ -93,10 +93,9 @@ XMLTextHeaderFooterContext::~XMLTextHeaderFooterContext() { } -SvXMLImportContextRef XMLTextHeaderFooterContext::CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const uno::Reference< xml::sax::XAttributeList > & xAttrList ) +css::uno::Reference< css::xml::sax::XFastContextHandler > XMLTextHeaderFooterContext::createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) { SvXMLImportContext *pContext = nullptr; if( bInsertContent ) @@ -166,7 +165,7 @@ SvXMLImportContextRef XMLTextHeaderFooterContext::CreateChildContext( pContext = GetImport().GetTextImport()->CreateTextChildContext( - GetImport(), nPrefix, rLocalName, xAttrList, + GetImport(), nElement, xAttrList, XMLTextType::HeaderFooter ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits