From 0546af3643114b5adf6e33f49d6834eb74ae793b Mon Sep 17 00:00:00 2001 From: Mark Hung Date: Sat, 16 Mar 2019 23:17:31 +0800 Subject: tdf#123909 fix event source that refers to a timenode. p:tn (see below) were treated as delay value instead of timenode id. Just convert the timenode id to XAnimationNode and set the event source properly. Change-Id: Ib408be6714c6ac70dad7018e544e560cf59a40c0 Reviewed-on: https://gerrit.libreoffice.org/69340 Tested-by: Jenkins Reviewed-by: Mark Hung --- include/oox/ppt/slidepersist.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include/oox') diff --git a/include/oox/ppt/slidepersist.hxx b/include/oox/ppt/slidepersist.hxx index 4d4c4d3cf4f8..5708775c25bd 100644 --- a/include/oox/ppt/slidepersist.hxx +++ b/include/oox/ppt/slidepersist.hxx @@ -117,6 +117,7 @@ public: void applyTextStyles( const oox::core::XmlFilterBase& rFilterBase ); std::map< OUString, css::uno::Reference< css::animations::XAnimationNode > >& getAnimNodesMap() { return maAnimNodesMap; }; + css::uno::Reference getAnimationNode(const OUString& sId) const; ::oox::drawingml::ShapePtr getShape( const OUString & id ) { return maShapeMap[ id ]; } ::oox::drawingml::ShapeIdMap& getShapeMap() { return maShapeMap; } -- cgit