summaryrefslogtreecommitdiff
path: root/drawinglayer/qa
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 /drawinglayer/qa
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 'drawinglayer/qa')
-rw-r--r--drawinglayer/qa/unit/vclmetafileprocessor2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/qa/unit/vclmetafileprocessor2d.cxx b/drawinglayer/qa/unit/vclmetafileprocessor2d.cxx
index f34ef8a1bb6f..e5b5ed3cfc8a 100644
--- a/drawinglayer/qa/unit/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/qa/unit/vclmetafileprocessor2d.cxx
@@ -93,7 +93,7 @@ public:
rtl::Reference<primitive2d::PolygonStrokePrimitive2D> strokePrimitive(
new primitive2d::PolygonStrokePrimitive2D(polygon, lineAttributes, strokeAttributes));
primitive2d::Primitive2DContainer primitives;
- primitives.push_back(primitive2d::Primitive2DReference(strokePrimitive));
+ primitives.push_back(strokePrimitive);
processor->process(primitives);
metafile.Stop();
metafile.WindStart();