oox/source/ppt/timenode.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 2f07a533ed7b52fb0420e6f0a98f42019dcf185f
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Tue Sep 5 17:15:03 2017 +0200

    tdf#106867: Import target for commands in PPTX.
    
    Change-Id: I859335085038433ef862a669430f8be993b92cb2
    Reviewed-on: https://gerrit.libreoffice.org/41980
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

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() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to