summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpbody.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-21 10:54:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-21 11:09:29 +0100
commit24b0ef899e10e03743cf01f737f1c07167f391ec (patch)
tree8df0383e0a7aace1bcd3091f27bbbe82c89a5683 /xmloff/source/draw/ximpbody.hxx
parent2eacc795cf29a61e0561c8acba3168afe7c80be8 (diff)
Use FastParser in SdXMLBodyContext
Change-Id: I1070ca2351f7bfb2e0c10ba6e876ebcf2cae0ce0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87118 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/ximpbody.hxx')
-rw-r--r--xmloff/source/draw/ximpbody.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpbody.hxx b/xmloff/source/draw/ximpbody.hxx
index a23826462a78..9c527d823961 100644
--- a/xmloff/source/draw/ximpbody.hxx
+++ b/xmloff/source/draw/ximpbody.hxx
@@ -55,9 +55,15 @@ class SdXMLBodyContext : public SvXMLImportContext
SdXMLImport& GetSdImport() { return static_cast<SdXMLImport&>(GetImport()); }
public:
- SdXMLBodyContext( SdXMLImport& rImport, const OUString& rLocalName );
+ SdXMLBodyContext( SdXMLImport& rImport );
virtual ~SdXMLBodyContext() override;
+ virtual void SAL_CALL startFastElement( sal_Int32 /*nElement*/,
+ const css::uno::Reference< css::xml::sax::XFastAttributeList >& ) 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;
+
virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;