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

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Mon May 25 14:02:38 UTC 2020


 slideshow/source/engine/animationfactory.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b12d1c41a811f39d37c317f1f71a2ff663edcf27
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Mon May 25 14:23:05 2020 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Mon May 25 16:01:42 2020 +0200

    fix an incorrectly removed line
    
    The change in cfaf93d2b3efdbbe was supposed to just remove the call,
    not the whole variable assignment.
    
    Change-Id: Id104035a430d3c3f7f462bd115a023f3c541aeac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94788
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/slideshow/source/engine/animationfactory.cxx b/slideshow/source/engine/animationfactory.cxx
index 4dbcbd02696d..f81c37b77df3 100644
--- a/slideshow/source/engine/animationfactory.cxx
+++ b/slideshow/source/engine/animationfactory.cxx
@@ -223,6 +223,8 @@ namespace slideshow::internal
                                       "PathAnimation::PathAnimation(): failed to parse SVG:d path" );
                     ENSURE_OR_THROW( aPolyPoly.count() == 1,
                                       "PathAnimation::PathAnimation(): motion path consists of multiple/zero polygon(s)" );
+
+                    maPathPoly = aPolyPoly.getB2DPolygon(0);
                 }
 
                 virtual ~PathAnimation() override


More information about the Libreoffice-commits mailing list