diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-04 20:22:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-04 20:55:10 +0100 |
commit | a823fd68bae37329e7c7a41f3a29c59b842871ac (patch) | |
tree | d307b5b6465e2cfe8b855dd0de1e54213eba3f1c | |
parent | ef80ef57f50cf41afa461fc8c188e40436194f1a (diff) |
fastparser in SdXMLChartShapeContext
Change-Id: I06ad1abb3795dae9ddcc0d68e6ffb627c85fc039
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107236
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 7 | ||||
-rw-r--r-- | xmloff/source/draw/ximpshap.hxx | 4 |
2 files changed, 6 insertions, 5 deletions
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 |