diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-02 12:26:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-02 17:08:47 +0100 |
commit | 3940cf7d716f3e469f47d3c831a799e58edf2eb8 (patch) | |
tree | 96c54b88e76e8eeff2b58700fce6a3b4f6722cde /xmloff/source/core | |
parent | dd24e21bb4f183048a738314934fc3f02ec093f1 (diff) |
drop the SvXMLExport::EndElement method..
in favour of just using the endFastElement() method
Change-Id: Id95abb0b9e78bc44278c5e9e3cc8dee15185e2e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105175
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/core/xmlictxt.cxx | 8 |
2 files changed, 4 insertions, 10 deletions
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx index 0d4849dd2575..3b763d7eeab6 100644 --- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx +++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx @@ -61,7 +61,7 @@ public: virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; - virtual void EndElement() override; + virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual void SAL_CALL characters( const OUString& rChars ) override; }; @@ -96,7 +96,7 @@ void XMLEmbeddedObjectImportContext_Impl::StartElement( xAttrList ); } -void XMLEmbeddedObjectImportContext_Impl::EndElement() +void XMLEmbeddedObjectImportContext_Impl::endFastElement(sal_Int32 ) { xHandler->endElement( GetImport().GetNamespaceMap().GetQNameByKey( GetPrefix(), GetLocalName() ) ); @@ -273,7 +273,7 @@ void XMLEmbeddedObjectImportContext::StartElement( xAttrList ); } -void XMLEmbeddedObjectImportContext::EndElement() +void XMLEmbeddedObjectImportContext::endFastElement(sal_Int32 ) { if( !xHandler.is() ) return; diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx index d74b28b5fec4..a0b22219b29e 100644 --- a/xmloff/source/core/xmlictxt.cxx +++ b/xmloff/source/core/xmlictxt.cxx @@ -60,7 +60,7 @@ void SvXMLImportContext::StartElement( const uno::Reference< xml::sax::XAttribut { } -void SvXMLImportContext::EndElement() +void SvXMLImportContext::endFastElement(sal_Int32 ) { } @@ -103,14 +103,8 @@ void SAL_CALL SvXMLImportContext::startUnknownElement(const OUString & /*rNamesp StartElement( mrImport.maAttrList.get() ); } -void SAL_CALL SvXMLImportContext::endFastElement(sal_Int32 ) -{ - EndElement(); -} - void SAL_CALL SvXMLImportContext::endUnknownElement (const OUString & /*rNamespace*/, const OUString & /*rElementName*/) { - EndElement(); } uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SvXMLImportContext::createFastChildContext |