summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 10:25:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-06 10:52:49 +0100
commit03458f8e4609d00d7e9334a23d5f7f6fe8846e01 (patch)
treed46771a2aad59d6f1f02abeee44dabcd324a006b /include
parenteff1e58839df4f4cc7d2ff239dd818880372a1a0 (diff)
loplugin:useuniqueptr in SdrEdgeObj
Change-Id: I457520760d182fdd4f89cb7c7a4ea2c0e514e0c4 Reviewed-on: https://gerrit.libreoffice.org/49273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdoedge.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 0ff4cba37068..5b11da0feaef 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -142,7 +142,7 @@ protected:
SdrObjConnection aCon1; // Connection status of the beginning of the line
SdrObjConnection aCon2; // Connection status of the end of the line
- XPolygon* pEdgeTrack;
+ std::unique_ptr<XPolygon> pEdgeTrack;
sal_uInt16 nNotifyingCount; // Locking
SdrEdgeInfoRec aEdgeInfo;