summaryrefslogtreecommitdiff
path: root/oox/source/ppt/slidepersist.cxx
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-03-16 23:17:31 +0800
committerMark Hung <marklh9@gmail.com>2019-03-20 12:42:02 +0100
commit0546af3643114b5adf6e33f49d6834eb74ae793b (patch)
tree5872bf8488fb2301a9ba022cfc55f8e9c5d686a6 /oox/source/ppt/slidepersist.cxx
parenta26524e348fe06b93c26b1b1fa3dae3a5b26d6fa (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 'oox/source/ppt/slidepersist.cxx')
-rw-r--r--oox/source/ppt/slidepersist.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/oox/source/ppt/slidepersist.cxx b/oox/source/ppt/slidepersist.cxx
index b25d00ed3529..5c5d61f5640b 100644
--- a/oox/source/ppt/slidepersist.cxx
+++ b/oox/source/ppt/slidepersist.cxx
@@ -318,6 +318,16 @@ void SlidePersist::hideShapesAsMasterShapes()
}
}
+Reference<XAnimationNode> SlidePersist::getAnimationNode(const OUString& sId) const
+{
+ const auto& pIter = maAnimNodesMap.find(sId);
+ if (pIter != maAnimNodesMap.end())
+ return pIter->second;
+
+ Reference<XAnimationNode> aResult;
+ return aResult;
+}
+
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */