summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshape.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-06 15:51:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-07 16:43:23 +0100
commit33b7d62281f1f9aaeaa2f68615e90190fe7b5aaf (patch)
tree1c0156528fda73b0941982c84a8885f0867e993f /svx/source/unodraw/unoshape.cxx
parentcf11a0dfca5470baea8429c41021527187a5c32d (diff)
these casts are no longer necessary
Change-Id: Ife51f47d95e286e0fec165882377c31b1a664241 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163058 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r--svx/source/unodraw/unoshape.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 703b3e664638..12bd86564261 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -678,10 +678,9 @@ uno::Any SvxShape::GetBitmap( bool bMetaFile /* = false */ ) const
// Embed primitives to get them in 100th mm
xPrimitives = drawinglayer::primitive2d::Primitive2DContainer {
- drawinglayer::primitive2d::Primitive2DReference(
new drawinglayer::primitive2d::TransformPrimitive2D(
aMapTransform,
- std::move(xPrimitives)))
+ std::move(xPrimitives))
};
// Update basegfx::B2DRange aRange, too. Here we have the