summaryrefslogtreecommitdiffstats
path: root/include/xmloff/XMLTextMasterPageContext.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-27 13:05:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-27 20:48:36 +0200
commitc995359be1b768d9848ebbeac57765e217f5acff (patch)
treebb4223767b5dc293dde9942972cf310024cde9bc /include/xmloff/XMLTextMasterPageContext.hxx
parentofz#24934 practically infinite loop on eof (diff)
downloadcore-c995359be1b768d9848ebbeac57765e217f5acff.tar.gz
core-c995359be1b768d9848ebbeac57765e217f5acff.zip
use fastparser in CreateHeaderFooterContext
Change-Id: Ic0a4e4911bb56fd9731e0e9d3850387b1f26b1d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101474 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/XMLTextMasterPageContext.hxx')
-rw-r--r--include/xmloff/XMLTextMasterPageContext.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/xmloff/XMLTextMasterPageContext.hxx b/include/xmloff/XMLTextMasterPageContext.hxx
index ad58d69eb269..3d2bd7302f68 100644
--- a/include/xmloff/XMLTextMasterPageContext.hxx
+++ b/include/xmloff/XMLTextMasterPageContext.hxx
@@ -60,15 +60,13 @@ public:
virtual void SAL_CALL startFastElement( sal_Int32 /*nElement*/,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& ) 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 SvXMLImportContext *CreateHeaderFooterContext(
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList,
+ sal_Int32 nElement,
+ const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList,
const bool bFooter,
const bool bLeft,
const bool bFirst );