summaryrefslogtreecommitdiff
path: root/xmloff/inc/animationimport.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-18 15:45:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 18:54:52 +0100
commit5352d45dd4a04f8f02cf7f6ad4169126d3b3586a (patch)
treea5c7459b5830d70fe3a193728a1db716f2390b39 /xmloff/inc/animationimport.hxx
parent913ed8398667dfd0d6f03923507e14c8e2642c90 (diff)
convert AnimationImport to fast-parser APIs
And... (*) space out the namespace constant values so I dont keep forgetting and making them overlap. (*) Remove CreateDocumentContext from SvXMLImport since it is now unused. Change-Id: I30f54bfc1389e91b18e4fee8b83e1b297419899b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc/animationimport.hxx')
-rw-r--r--xmloff/inc/animationimport.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/inc/animationimport.hxx b/xmloff/inc/animationimport.hxx
index 14df8ca9b3d0..5633e0ca3f1a 100644
--- a/xmloff/inc/animationimport.hxx
+++ b/xmloff/inc/animationimport.hxx
@@ -37,22 +37,22 @@ class AnimationNodeContext final : public SvXMLImportContext
std::shared_ptr<AnimationsImportHelperImpl> mpHelper;
css::uno::Reference< css::animations::XAnimationNode > mxNode;
- void init_node( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList );
+ void init_node( const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList );
public:
AnimationNodeContext(
const css::uno::Reference< css::animations::XAnimationNode >& xParentNode,
SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName,
- const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList,
+ sal_Int32 nElement,
+ const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList,
const std::shared_ptr<AnimationsImportHelperImpl>& pImpl = nullptr );
- 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 SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName,
- const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
+ virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element,
+ const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs) override;
static void postProcessRootNode( const css::uno::Reference< css::animations::XAnimationNode >& xNode, css::uno::Reference< css::beans::XPropertySet > const & xPageProps );
};