From 2f07a533ed7b52fb0420e6f0a98f42019dcf185f Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 5 Sep 2017 17:15:03 +0200 Subject: tdf#106867: Import target for commands in PPTX. Change-Id: I859335085038433ef862a669430f8be993b92cb2 Reviewed-on: https://gerrit.libreoffice.org/41980 Reviewed-by: Jan Holesovsky Tested-by: Jan Holesovsky --- oox/source/ppt/timenode.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'oox') 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() ) -- cgit