diff options
-rw-r--r-- | sd/source/core/CustomAnimationEffect.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index aaa5f36dcd83..4477ec35ed83 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1606,10 +1606,8 @@ 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(xPrimitives.getB2DRange(aViewInformation2D)); + const basegfx::B2DRange aRange = pObj->GetViewContact().getRange(aViewInformation2D); if(!aRange.isEmpty()) { |