summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute/fillgraphicattribute.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-01-28 20:18:12 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 07:32:42 +0100
commit8010abe4ab300f966b878b64ccc8733e3ea3cbc4 (patch)
treecba3b818a0c0d35eff21280903532b177f759f03 /drawinglayer/source/attribute/fillgraphicattribute.cxx
parent9eece764a75020623f9723b61fff75faa446b098 (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.cxx15
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
{