diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-11-30 20:25:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-01 07:58:46 +0100 |
commit | c96f5272964f199fc4ade670be30a87b931e85e0 (patch) | |
tree | 683acf9eca8e8c9349b09234d51fca5775e40aa4 /xmloff/source/text/XMLTextMarkImportContext.hxx | |
parent | 7f9215bb187f796537660e43ca6273c4fa5e28fa (diff) |
fastparser in XMLTextMarkImportContext
Change-Id: Iaa785b71ef64fd172f02f83ee1c8e9ac89dd13cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106912
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLTextMarkImportContext.hxx')
-rw-r--r-- | xmloff/source/text/XMLTextMarkImportContext.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx index a5817b193947..616dec670b20 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.hxx +++ b/xmloff/source/text/XMLTextMarkImportContext.hxx @@ -57,7 +57,7 @@ public: * * All elements are handled by the same class due to their similarities. */ -class XMLTextMarkImportContext : public SvXMLImportContext +class XMLTextMarkImportContext final : public SvXMLImportContext { private: XMLTextImportHelper & m_rHelper; @@ -83,10 +83,8 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); -protected: - - virtual void StartElement( - const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override; + virtual void SAL_CALL startFastElement( sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( @@ -102,8 +100,7 @@ public: const OUString& i_rXmlId = OUString()); bool FindName( - SvXMLImport& rImport, - const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList); + const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList); }; #endif |