summaryrefslogtreecommitdiff
path: root/oox/source/ppt/timenode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/timenode.cxx')
-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() )