diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-06 15:51:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-07 16:43:23 +0100 |
commit | 33b7d62281f1f9aaeaa2f68615e90190fe7b5aaf (patch) | |
tree | 1c0156528fda73b0941982c84a8885f0867e993f /drawinglayer/source/primitive2d/borderlineprimitive2d.cxx | |
parent | cf11a0dfca5470baea8429c41021527187a5c32d (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/source/primitive2d/borderlineprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/borderlineprimitive2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx index f54b71417735..68eed1864828 100644 --- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx @@ -405,12 +405,12 @@ namespace drawinglayer::primitive2d } } - return Primitive2DReference( + return new BorderLinePrimitive2D( pCandidateA->getStart(), pCandidateB->getEnd(), std::move(aMergedBorderLines), - pCandidateA->getStrokeAttribute())); + pCandidateA->getStrokeAttribute()); } } // end of namespace |