diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 14:02:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-29 09:23:46 +0200 |
commit | 45d4b2945cbea49efd5c3d725f3e067bfbd229ba (patch) | |
tree | ca1095729c809e9272452f5abb535f0221988db7 /include | |
parent | 9e00f6d70cda2070e6dafbad8eded7d6e7f14ef9 (diff) |
cid#1371223 Missing move assignment operator
and cid#1371216, cid#1371179
Change-Id: I64faaada85cc92a8b47c2a665488f07050be6fc3
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/matrix/b2dhommatrix.hxx | 2 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolygon.hxx | 2 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygon.hxx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/basegfx/matrix/b2dhommatrix.hxx b/include/basegfx/matrix/b2dhommatrix.hxx index a3e6fcde97cf..51479aa01999 100644 --- a/include/basegfx/matrix/b2dhommatrix.hxx +++ b/include/basegfx/matrix/b2dhommatrix.hxx @@ -40,6 +40,7 @@ namespace basegfx public: B2DHomMatrix(); B2DHomMatrix(const B2DHomMatrix& rMat); + B2DHomMatrix(B2DHomMatrix&& rMat); ~B2DHomMatrix(); /** constructor to allow setting all needed values for a 3x2 matrix at once. The @@ -90,6 +91,7 @@ namespace basegfx // assignment operator B2DHomMatrix& operator=(const B2DHomMatrix& rMat); + B2DHomMatrix& operator=(B2DHomMatrix&& rMat); // Help routine to decompose given homogen 3x3 matrix to components. A correction of // the components is done to avoid inaccuracies. diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index 7bdf771915f3..4e868c103c6d 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -54,6 +54,7 @@ namespace basegfx /// diverse constructors B2DPolygon(); B2DPolygon(const B2DPolygon& rPolygon); + B2DPolygon(B2DPolygon&& rPolygon); B2DPolygon(const B2DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount); B2DPolygon(std::initializer_list<basegfx::B2DPoint> rPoints); @@ -61,6 +62,7 @@ namespace basegfx /// assignment operator B2DPolygon& operator=(const B2DPolygon& rPolygon); + B2DPolygon& operator=(B2DPolygon&& rPolygon); /// unshare this polygon with all internally shared instances void makeUnique(); diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx index 3527c84da811..c033989a722b 100644 --- a/include/basegfx/polygon/b2dpolypolygon.hxx +++ b/include/basegfx/polygon/b2dpolypolygon.hxx @@ -49,11 +49,13 @@ namespace basegfx public: B2DPolyPolygon(); B2DPolyPolygon(const B2DPolyPolygon& rPolyPolygon); + B2DPolyPolygon(B2DPolyPolygon&& rPolyPolygon); explicit B2DPolyPolygon(const B2DPolygon& rPolygon); ~B2DPolyPolygon(); // assignment operator B2DPolyPolygon& operator=(const B2DPolyPolygon& rPolyPolygon); + B2DPolyPolygon& operator=(B2DPolyPolygon&& rPolyPolygon); /// unshare this poly-polygon (and all included polygons) with all internally shared instances void makeUnique(); |