diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-01-28 20:18:12 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-29 07:32:42 +0100 |
commit | 8010abe4ab300f966b878b64ccc8733e3ea3cbc4 (patch) | |
tree | cba3b818a0c0d35eff21280903532b177f759f03 /drawinglayer/source/attribute/fillgraphicattribute.cxx | |
parent | 9eece764a75020623f9723b61fff75faa446b098 (diff) |
clang-tidy modernize-use-equals-default in drawinglayer
Change-Id: I2fbcac7a22a881681bc8b84274e7d39f1cec18bf
Reviewed-on: https://gerrit.libreoffice.org/48800
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/attribute/fillgraphicattribute.cxx')
-rw-r--r-- | drawinglayer/source/attribute/fillgraphicattribute.cxx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drawinglayer/source/attribute/fillgraphicattribute.cxx b/drawinglayer/source/attribute/fillgraphicattribute.cxx index b0dba109a166..867fecd79b52 100644 --- a/drawinglayer/source/attribute/fillgraphicattribute.cxx +++ b/drawinglayer/source/attribute/fillgraphicattribute.cxx @@ -103,25 +103,16 @@ namespace drawinglayer { } - FillGraphicAttribute::FillGraphicAttribute(const FillGraphicAttribute& rCandidate) - : mpFillGraphicAttribute(rCandidate.mpFillGraphicAttribute) - { - } + FillGraphicAttribute::FillGraphicAttribute(const FillGraphicAttribute&) = default; - FillGraphicAttribute::~FillGraphicAttribute() - { - } + FillGraphicAttribute::~FillGraphicAttribute() = default; bool FillGraphicAttribute::isDefault() const { return mpFillGraphicAttribute.same_object(theGlobalDefault::get()); } - FillGraphicAttribute& FillGraphicAttribute::operator=(const FillGraphicAttribute& rCandidate) - { - mpFillGraphicAttribute = rCandidate.mpFillGraphicAttribute; - return *this; - } + FillGraphicAttribute& FillGraphicAttribute::operator=(const FillGraphicAttribute&) = default; bool FillGraphicAttribute::operator==(const FillGraphicAttribute& rCandidate) const { |