summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-05-25 14:23:05 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-05-25 16:01:42 +0200
commitb12d1c41a811f39d37c317f1f71a2ff663edcf27 (patch)
treed8de6183cd98003c8f02fc16bb203172b16aa5e7 /slideshow/source
parent68547fa26897a8076eeda13cdcf20fb6078af6a4 (diff)
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@collabora.com>
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/animationfactory.cxx2
1 files changed, 2 insertions, 0 deletions
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