diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-03 17:15:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 08:40:26 +0200 |
commit | 224db728733d1beb4709652ace948ff7d1f40f00 (patch) | |
tree | 19d0b061f35b9b45078c289be9741ab243b64806 /svx/inc | |
parent | c9d7d201749ebabe4c8a0d7e5051337b83b50ee7 (diff) |
simplify memory management in ImpXPolyPolygon
just use a std::vector<XPolygon>
Change-Id: I1adb801faa8341e0759a86fd209a530b8f5c5a1c
Reviewed-on: https://gerrit.libreoffice.org/43086
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/xpolyimp.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx index 02c9b08e1bef..335117f4ca84 100644 --- a/svx/inc/xpolyimp.hxx +++ b/svx/inc/xpolyimp.hxx @@ -51,12 +51,12 @@ public: void Remove( sal_uInt16 nPos, sal_uInt16 nCount ); }; -typedef ::std::vector< XPolygon* > XPolygonList; +typedef ::std::vector< XPolygon > XPolygonVector; class ImpXPolyPolygon { public: - XPolygonList aXPolyList; + XPolygonVector aXPolyList; ImpXPolyPolygon() {} ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly ); |