diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 13:01:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 13:01:25 +0200 |
commit | 781fdb676fc89789180181e1ff2800df82c4c851 (patch) | |
tree | f7ddd6d755103651e19f19c45a16140bc323d2a0 /basegfx | |
parent | 877dfa3783316c4c2850b0e5bd3837765d7c12c2 (diff) |
cid#1371285 Missing move assignment operator
Change-Id: Ia822a01caec28f8137e30c05b6904c9fac367ce4
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/matrix/b3dhommatrix.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index 2d017dd9ad66..26fbcce6604b 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -42,6 +42,11 @@ namespace basegfx { } + B3DHomMatrix::B3DHomMatrix(B3DHomMatrix&& rMat) : + mpImpl(std::move(rMat.mpImpl)) + { + } + B3DHomMatrix::~B3DHomMatrix() { } @@ -52,6 +57,12 @@ namespace basegfx return *this; } + B3DHomMatrix& B3DHomMatrix::operator=(B3DHomMatrix&& rMat) + { + mpImpl = std::move(rMat.mpImpl); + return *this; + } + double B3DHomMatrix::get(sal_uInt16 nRow, sal_uInt16 nColumn) const { return mpImpl->get(nRow, nColumn); |