diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-27 13:05:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-27 20:48:36 +0200 |
commit | c995359be1b768d9848ebbeac57765e217f5acff (patch) | |
tree | bb4223767b5dc293dde9942972cf310024cde9bc /sc/source/filter/xml/xmlstyli.cxx | |
parent | 2730ae520da2c47ac1cabaa3ddcc43359aae5875 (diff) |
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 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlstyli.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index 80f9a207537e..9569fa52e417 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -955,9 +955,8 @@ ScMasterPageContext::~ScMasterPageContext() } SvXMLImportContext *ScMasterPageContext::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*/ ) @@ -972,7 +971,7 @@ SvXMLImportContext *ScMasterPageContext::CreateHeaderFooterContext( if (!xPropSet.is()) xPropSet.set(GetStyle(), UNO_QUERY ); return new XMLTableHeaderFooterContext( GetImport(), - nPrefix, rLocalName, + nElement, xAttrList, xPropSet, bFooter, bLeft ); |