xmloff/source/text/XMLFootnoteBodyImportContext.cxx |   14 +++++---------
 xmloff/source/text/XMLFootnoteBodyImportContext.hxx |    7 +++----
 2 files changed, 8 insertions(+), 13 deletions(-)

New commits:
commit b83509470b28af6cdc966a7eaa4184f9e2bff86a
Author:     Noel <noelgran...@gmail.com>
AuthorDate: Thu Dec 3 11:34:11 2020 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Dec 3 19:37:11 2020 +0100

    fastparser in XMLFootnoteBodyImportContext
    
    Change-Id: Iebb11d1a8a27bda894870bd6701faea923ab3927
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107148
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx 
b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
index 8b0268318355..406d30d75289 100644
--- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
@@ -33,20 +33,16 @@ XMLFootnoteBodyImportContext::XMLFootnoteBodyImportContext( 
SvXMLImport& rImport
 {
 }
 
-SvXMLImportContextRef XMLFootnoteBodyImportContext::CreateChildContext(
-    sal_uInt16 nPrefix,
-    const OUString& rLocalName,
-    const Reference<XAttributeList> & xAttrList )
+css::uno::Reference< css::xml::sax::XFastContextHandler > 
XMLFootnoteBodyImportContext::createFastChildContext(
+    sal_Int32 nElement,
+    const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
 {
     // return text context
-    SvXMLImportContext *pContext =
+    return
         GetImport().GetTextImport()->CreateTextChildContext(GetImport(),
-                                                       nPrefix,
-                                                       rLocalName,
+                                                       nElement,
                                                        xAttrList,
                                                        XMLTextType::Footnote);
-
-    return pContext;
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx 
b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
index 19007558899e..1831f5bd1f59 100644
--- a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
+++ b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx
@@ -41,10 +41,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;
 
 };
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to