diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-09-25 18:09:25 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-04 13:15:13 +0200 |
commit | 6a8dd4b0e832793bddc1c16ce5586decd1f52d8e (patch) | |
tree | 1a7c9d9ab673b5097daf600542350d257f3fe3f5 | |
parent | curl: upgrade to release 7.85.0 (diff) | |
download | core-6a8dd4b0e832793bddc1c16ce5586decd1f52d8e.tar.gz core-6a8dd4b0e832793bddc1c16ce5586decd1f52d8e.zip |
tdf#150715 Animations in LO Impress do not work properly
Revert "updatePathFromSdrPathObj can just call getRange"
This reverts commit 7c52337f9517135db13d75ecbbc10d7e26e01489.
Not sure why this change did not work.
Change-Id: I2c42b9b7ff4b85f3018bea289efd3d934dbe2be1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140570
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 916d30ba7e8a5293f57ec04258f6c3839736295e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140512
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 76ca860ee260c1b15a4dde036a3b7852fce12cd0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140598
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sd/source/core/CustomAnimationEffect.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index e645bbca09d5..b1816784f085 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1605,8 +1605,10 @@ void CustomAnimationEffect::updatePathFromSdrPathObj( const SdrPathObj& rPathObj { ::tools::Rectangle aBoundRect(0,0,0,0); + drawinglayer::primitive2d::Primitive2DContainer xPrimitives; + pObj->GetViewContact().getViewIndependentPrimitive2DContainer(xPrimitives); const drawinglayer::geometry::ViewInformation2D aViewInformation2D; - const basegfx::B2DRange aRange = pObj->GetViewContact().getRange(aViewInformation2D); + const basegfx::B2DRange aRange(xPrimitives.getB2DRange(aViewInformation2D)); if(!aRange.isEmpty()) { |