diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 14:55:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-29 09:23:46 +0200 |
commit | e0ecd9b536ea60038795be31386f5d2785cb4d4e (patch) | |
tree | fff68e9bdf7564909fa26a093041d79917af46ff /include/svx | |
parent | ab0eecc0be4671c984dedf5a4941febcd5dec589 (diff) |
cid#1371241 Missing move assignment operator
Change-Id: Ic914ac2ed5fb48cf340f2e54d074ee64e202225e
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/xpoly.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/xpoly.hxx b/include/svx/xpoly.hxx index 2a5cba555b9f..dc607df95b80 100644 --- a/include/svx/xpoly.hxx +++ b/include/svx/xpoly.hxx @@ -63,6 +63,7 @@ protected: public: XPolygon( sal_uInt16 nSize=16, sal_uInt16 nResize=16 ); XPolygon( const XPolygon& rXPoly ); + XPolygon( XPolygon&& rXPoly ); XPolygon( const tools::Polygon& rPoly ); XPolygon( const Rectangle& rRect, long nRx = 0, long nRy = 0 ); XPolygon( const Point& rCenter, long nRx, long nRy, @@ -85,6 +86,7 @@ public: const Point& operator[]( sal_uInt16 nPos ) const; Point& operator[]( sal_uInt16 nPos ); XPolygon& operator=( const XPolygon& rXPoly ); + XPolygon& operator=( XPolygon&& rXPoly ); bool operator==( const XPolygon& rXPoly ) const; XPolyFlags GetFlags( sal_uInt16 nPos ) const; |