[Libreoffice-commits] core.git: xmloff/source
Noel (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 3 08:15:43 UTC 2020
xmloff/source/text/XMLIndexBodyContext.cxx | 9 ++++-----
xmloff/source/text/XMLIndexBodyContext.hxx | 7 +++----
2 files changed, 7 insertions(+), 9 deletions(-)
New commits:
commit 8cf3181243d9a4695ef430463df34699c37462f9
Author: Noel <noelgrandin at gmail.com>
AuthorDate: Wed Dec 2 14:42:11 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Dec 3 09:15:05 2020 +0100
fastparser in XMLIndexBodyContext
Change-Id: I4fd0342f8d008ec9dfd3f148d5cdfb3a27c1753e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107130
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx
index 936542e243ea..769c1f04b51b 100644
--- a/xmloff/source/text/XMLIndexBodyContext.hxx
+++ b/xmloff/source/text/XMLIndexBodyContext.hxx
@@ -51,10 +51,9 @@ public:
protected:
- 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;
};
inline bool XMLIndexBodyContext::HasContent() const
More information about the Libreoffice-commits
mailing list