diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 13:04:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 06:10:36 +0000 |
commit | 0b272cdf0025ce4bca31ee01c8b3aaca042dcb62 (patch) | |
tree | e5d3ec93289598ebfe0121e7a3d0c880c3054844 /include/svx/svdorect.hxx | |
parent | 570d8dab6d6754ab8020cbe6624020dff7b8b624 (diff) |
new loplugin: useuniqueptr: svx
Change-Id: I0eb3d43d7bcfc491df16a72997a0720a6aec2c5c
Reviewed-on: https://gerrit.libreoffice.org/32959
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdorect.hxx')
-rw-r--r-- | include/svx/svdorect.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx index c8e332b53094..11d6b7d7d55d 100644 --- a/include/svx/svdorect.hxx +++ b/include/svx/svdorect.hxx @@ -46,7 +46,7 @@ protected: virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() override; virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override; - XPolygon* mpXPoly; + std::unique_ptr<XPolygon> mpXPoly; protected: XPolygon ImpCalcXPoly(const Rectangle& rRect1, long nRad1) const; |