diff options
author | Noel <noelgrandin@gmail.com> | 2020-12-02 14:42:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-03 09:15:05 +0100 |
commit | 8cf3181243d9a4695ef430463df34699c37462f9 (patch) | |
tree | 2a0590eb99e960f67736844cd42048d7c279c90e /xmloff/source/text/XMLIndexBodyContext.cxx | |
parent | 7fc2fe5c612f95b9624f49b5fdea2d3c8c94caf1 (diff) |
fastparser in XMLIndexBodyContext
Change-Id: I4fd0342f8d008ec9dfd3f148d5cdfb3a27c1753e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107130
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLIndexBodyContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexBodyContext.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index b83e7fd36531..05392d57a4b4 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -37,14 +37,13 @@ XMLIndexBodyContext::~XMLIndexBodyContext() { } -SvXMLImportContextRef XMLIndexBodyContext::CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const Reference<XAttributeList> & xAttrList) +css::uno::Reference< css::xml::sax::XFastContextHandler > XMLIndexBodyContext::createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) { // return text content (if possible) SvXMLImportContext* pContext = GetImport().GetTextImport()->CreateTextChildContext( - GetImport(), nPrefix, rLocalName, xAttrList, XMLTextType::Section ); + GetImport(), nElement, xAttrList, XMLTextType::Section ); if (pContext) bHasContent = true; |