summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-05 20:52:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 08:50:50 +0200
commit396473a3d6ddd1f1ee2d4e0fd3bae5c41d2cc3fd (patch)
tree9450276aa36268b94779482cb3e5d4c1ab9a4f11 /svx/source/svdraw/svdograf.cxx
parent8494a95f29c74b06cfdf78c6a218ddeba81e3914 (diff)
use unique_ptr in ImpConvertContainedTextToSdrPathObjs
Change-Id: I7995bb3e8732ec20b941bd029e5a77aa78d09592 Reviewed-on: https://gerrit.libreoffice.org/78673 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 329bbaf768ea..306f0543ab97 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -957,7 +957,7 @@ SdrObject* SdrGrafObj::DoConvertToPolyObj(bool bBezier, bool bAddText ) const
if(bAddText)
{
- pRetval = ImpConvertAddText(pRetval, bBezier);
+ pRetval = ImpConvertAddText(SdrObjectUniquePtr(pRetval), bBezier).release();
}
// convert all children