| commit | 916d30ba7e8a5293f57ec04258f6c3839736295e | [log] |
|---|---|---|
| author | Noel Grandin <noelgrandin@gmail.com> | Sun Sep 25 18:09:25 2022 +0200 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Sun Sep 25 19:09:37 2022 +0200 |
| tree | dfa9448b2d520f4d8f500fddc36fec469326adf3 | |
| parent | 7dca847f07c57591d20b6a2c618bfd8bfe62a09f [diff] |
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>
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 52220af..b74179d 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -1606,8 +1606,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()) {