summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdocirc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-05 17:11:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 08:50:35 +0200
commit8494a95f29c74b06cfdf78c6a218ddeba81e3914 (patch)
tree93344094930268bcc7dab40a622ffc4da69d0808 /svx/source/svdraw/svdocirc.cxx
parent42eb80c12aae5ae87c218a670d95a82d916f6e2c (diff)
return unique_ptr from ImpConvertMakeObj
Change-Id: I24b53dceb79bd43aed92c8130dc33b637410d231 Reviewed-on: https://gerrit.libreoffice.org/78672 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r--svx/source/svdraw/svdocirc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx
index bc726a64b628..2af9ac8e6d09 100644
--- a/svx/source/svdraw/svdocirc.cxx
+++ b/svx/source/svdraw/svdocirc.cxx
@@ -1151,7 +1151,7 @@ SdrObject* SdrCircObj::DoConvertToPolyObj(bool bBezier, bool bAddText) const
{
const bool bFill(meCircleKind != SdrCircKind::Arc);
const basegfx::B2DPolygon aCircPolygon(ImpCalcXPolyCirc(meCircleKind, maRect, nStartAngle, nEndAngle));
- SdrObject* pRet = ImpConvertMakeObj(basegfx::B2DPolyPolygon(aCircPolygon), bFill, bBezier);
+ SdrObject* pRet = ImpConvertMakeObj(basegfx::B2DPolyPolygon(aCircPolygon), bFill, bBezier).release();
if(bAddText)
{