[Libreoffice-commits] core.git: oox/source

Jan Holesovsky kendy at collabora.com
Wed Sep 6 12:48:06 UTC 2017


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

New commits:
commit 2f07a533ed7b52fb0420e6f0a98f42019dcf185f
Author: Jan Holesovsky <kendy at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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() )


More information about the Libreoffice-commits mailing list