summaryrefslogtreecommitdiff
path: root/basegfx/source/matrix/b2dhommatrix.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 14:02:10 +0200
committerNoel Grandin <noel@peralex.com>2016-08-29 09:23:46 +0200
commit45d4b2945cbea49efd5c3d725f3e067bfbd229ba (patch)
treeca1095729c809e9272452f5abb535f0221988db7 /basegfx/source/matrix/b2dhommatrix.cxx
parent9e00f6d70cda2070e6dafbad8eded7d6e7f14ef9 (diff)
cid#1371223 Missing move assignment operator
and cid#1371216, cid#1371179 Change-Id: I64faaada85cc92a8b47c2a665488f07050be6fc3
Diffstat (limited to 'basegfx/source/matrix/b2dhommatrix.cxx')
-rw-r--r--basegfx/source/matrix/b2dhommatrix.cxx11
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);