summaryrefslogtreecommitdiff
path: root/oox/source/ppt
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-09-05 17:15:03 +0200
committerJan Holesovsky <kendy@collabora.com>2017-09-06 14:47:42 +0200
commit2f07a533ed7b52fb0420e6f0a98f42019dcf185f (patch)
tree5a36dbe2198a518eec2279dc92d0f57eef5eedbd /oox/source/ppt
parente64ebbb7ac530f82bf26a67fed0e1d22b254ff93 (diff)
tdf#106867: Import target for commands in PPTX.
Change-Id: I859335085038433ef862a669430f8be993b92cb2 Reviewed-on: https://gerrit.libreoffice.org/41980 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'oox/source/ppt')
-rw-r--r--oox/source/ppt/timenode.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx
index b8ce7e51af33..223cf8b31f2e 100644
--- a/oox/source/ppt/timenode.cxx
+++ b/oox/source/ppt/timenode.cxx
@@ -309,8 +309,10 @@ namespace oox { namespace ppt {
xAnimate->setBy( aValue );
break;
case NP_TARGET:
- if( xAnimate.is() )
- xAnimate->setTarget( aValue );
+ if (xAnimate.is())
+ xAnimate->setTarget(aValue);
+ if (xCommand.is())
+ xCommand->setTarget(aValue);
break;
case NP_SUBITEM:
if( xAnimate.is() )