diff options
author | Mark Hung <marklh9@gmail.com> | 2019-03-16 23:17:31 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2019-03-20 12:42:02 +0100 |
commit | 0546af3643114b5adf6e33f49d6834eb74ae793b (patch) | |
tree | 5872bf8488fb2301a9ba022cfc55f8e9c5d686a6 /include/oox | |
parent | a26524e348fe06b93c26b1b1fa3dae3a5b26d6fa (diff) |
tdf#123909 fix event source that refers to a timenode.
p:tn (see below) were treated as delay value instead of timenode id.
<p:stCondLst>
<p:cond evt="begin" delay="0">
<p:tn val="5"/>
</p:cond>
</p:stCondLst>
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 <marklh9@gmail.com>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/ppt/slidepersist.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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<css::animations::XAnimationNode> getAnimationNode(const OUString& sId) const; ::oox::drawingml::ShapePtr getShape( const OUString & id ) { return maShapeMap[ id ]; } ::oox::drawingml::ShapeIdMap& getShapeMap() { return maShapeMap; } |