summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgpathnode.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-21 19:54:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-22 10:31:12 +0200
commit523bba89cd5ad6372fb0431cecabdca02ea2b9e3 (patch)
tree5eb36b43d72584c2bc11ac7ef08bb7dc2420d881 /svgio/source/svgreader/svgpathnode.cxx
parenta1759769804a7f3b9895b481229d497a9eb4c70a (diff)
no need to use unique_ptr for B2DPolyPolygon
it is already a COW type Change-Id: Iaf8bf1671781923555df3e43b0db78e87c2c5a87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source/svgreader/svgpathnode.cxx')
-rw-r--r--svgio/source/svgreader/svgpathnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgpathnode.cxx b/svgio/source/svgreader/svgpathnode.cxx
index 773f34f2cf4d..5187df877261 100644
--- a/svgio/source/svgreader/svgpathnode.cxx
+++ b/svgio/source/svgreader/svgpathnode.cxx
@@ -64,7 +64,7 @@ namespace svgio::svgreader
{
if(aPath.count())
{
- setPath(&aPath);
+ setPath(aPath);
}
}
break;