summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 17:15:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 08:40:26 +0200
commit224db728733d1beb4709652ace948ff7d1f40f00 (patch)
tree19d0b061f35b9b45078c289be9741ab243b64806 /include
parentc9d7d201749ebabe4c8a0d7e5051337b83b50ee7 (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 'include')
-rw-r--r--include/svx/xpoly.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/xpoly.hxx b/include/svx/xpoly.hxx
index a42f1410f79d..a9d53f57e42e 100644
--- a/include/svx/xpoly.hxx
+++ b/include/svx/xpoly.hxx
@@ -123,7 +123,7 @@ public:
~XPolyPolygon();
- void Insert( const XPolygon& rXPoly );
+ void Insert( XPolygon&& rXPoly );
void Insert( const XPolyPolygon& rXPoly );
void Remove( sal_uInt16 nPos );
const XPolygon& GetObject( sal_uInt16 nPos ) const;