diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-04-21 17:02:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-22 08:23:01 +0200 |
commit | b3e0ef4cacfa63be7a6d4f152f197d07a3bbe255 (patch) | |
tree | 017a0c27493902fd0e4b16ce9055f4299e115f96 /basegfx/source/matrix/b3dhommatrix.cxx | |
parent | 88d0b8ac42a6d60c385d1e90c5cb84e9e9d194be (diff) |
clang-tidy modernize-use-equals-default in basegfx
Change-Id: If4ee51e022eba1f9f36c262abf9ba407db2b158e
Reviewed-on: https://gerrit.libreoffice.org/53260
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/source/matrix/b3dhommatrix.cxx')
-rw-r--r-- | basegfx/source/matrix/b3dhommatrix.cxx | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/basegfx/source/matrix/b3dhommatrix.cxx b/basegfx/source/matrix/b3dhommatrix.cxx index b55dd079b514..2e5e798fb001 100644 --- a/basegfx/source/matrix/b3dhommatrix.cxx +++ b/basegfx/source/matrix/b3dhommatrix.cxx @@ -29,36 +29,17 @@ namespace basegfx { }; - B3DHomMatrix::B3DHomMatrix() - : mpImpl() // identity - { - } + B3DHomMatrix::B3DHomMatrix() = default; - B3DHomMatrix::B3DHomMatrix(const B3DHomMatrix& rMat) : - mpImpl(rMat.mpImpl) - { - } + B3DHomMatrix::B3DHomMatrix(const B3DHomMatrix&) = default; - B3DHomMatrix::B3DHomMatrix(B3DHomMatrix&& rMat) : - mpImpl(std::move(rMat.mpImpl)) - { - } + B3DHomMatrix::B3DHomMatrix(B3DHomMatrix&&) = default; - B3DHomMatrix::~B3DHomMatrix() - { - } + B3DHomMatrix::~B3DHomMatrix() = default; - B3DHomMatrix& B3DHomMatrix::operator=(const B3DHomMatrix& rMat) - { - mpImpl = rMat.mpImpl; - return *this; - } + B3DHomMatrix& B3DHomMatrix::operator=(const B3DHomMatrix&) = default; - B3DHomMatrix& B3DHomMatrix::operator=(B3DHomMatrix&& rMat) - { - mpImpl = std::move(rMat.mpImpl); - return *this; - } + B3DHomMatrix& B3DHomMatrix::operator=(B3DHomMatrix&&) = default; double B3DHomMatrix::get(sal_uInt16 nRow, sal_uInt16 nColumn) const { |