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 /basegfx/source/matrix/b2dhommatrix.cxx | |
parent | 9e00f6d70cda2070e6dafbad8eded7d6e7f14ef9 (diff) |
cid#1371223 Missing move assignment operator
Diffstat (limited to 'basegfx/source/matrix/b2dhommatrix.cxx')
-rw-r--r-- | basegfx/source/matrix/b2dhommatrix.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/basegfx/source/matrix/b2dhommatrix.cxx b/basegfx/source/matrix/b2dhommatrix.cxx index 07d10e6bebff..2dce96fb2379 100644 --- a/basegfx/source/matrix/b2dhommatrix.cxx +++ b/basegfx/source/matrix/b2dhommatrix.cxx @@ -45,6 +45,11 @@ namespace basegfx { } + B2DHomMatrix::B2DHomMatrix(B2DHomMatrix&& rMat) : + mpImpl(std::move(rMat.mpImpl)) + { + } + B2DHomMatrix::~B2DHomMatrix() { } @@ -66,6 +71,12 @@ namespace basegfx return *this; } + B2DHomMatrix& B2DHomMatrix::operator=(B2DHomMatrix&& rMat) + { + mpImpl = std::move(rMat.mpImpl); + return *this; + } + double B2DHomMatrix::get(sal_uInt16 nRow, sal_uInt16 nColumn) const { return mpImpl->get(nRow, nColumn); |