xmloff/source/draw/ximpshap.cxx | 7 ++++--- xmloff/source/draw/ximpshap.hxx | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)
New commits: commit a823fd68bae37329e7c7a41f3a29c59b842871ac Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Fri Dec 4 20:22:03 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Dec 4 20:55:10 2020 +0100 fastparser in SdXMLChartShapeContext Change-Id: I06ad1abb3795dae9ddcc0d68e6ffb627c85fc039 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107236 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 0d9a171d3848..476c3ec006e7 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -2578,11 +2578,12 @@ void SdXMLChartShapeContext::characters( const OUString& rChars ) mxChartContext->characters( rChars ); } -SvXMLImportContextRef SdXMLChartShapeContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) +css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLChartShapeContext::createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) { if( mxChartContext.is() ) - return mxChartContext->CreateChildContext( nPrefix, rLocalName, xAttrList ); + return mxChartContext->createFastChildContextFallback( nElement, xAttrList ); return nullptr; } diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx index ca89d1ffc431..31a15323e625 100644 --- a/xmloff/source/draw/ximpshap.hxx +++ b/xmloff/source/draw/ximpshap.hxx @@ -425,8 +425,8 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual void SAL_CALL characters( const OUString& rChars ) 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; }; // draw:object and draw:object_ole context _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits