summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute/lineattribute.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/attribute/lineattribute.cxx')
-rw-r--r--drawinglayer/source/attribute/lineattribute.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/drawinglayer/source/attribute/lineattribute.cxx b/drawinglayer/source/attribute/lineattribute.cxx
index 89ce998924fe..583f1a1adfba 100644
--- a/drawinglayer/source/attribute/lineattribute.cxx
+++ b/drawinglayer/source/attribute/lineattribute.cxx
@@ -103,25 +103,16 @@ namespace drawinglayer
{
}
- LineAttribute::LineAttribute(const LineAttribute& rCandidate)
- : mpLineAttribute(rCandidate.mpLineAttribute)
- {
- }
+ LineAttribute::LineAttribute(const LineAttribute&) = default;
- LineAttribute::~LineAttribute()
- {
- }
+ LineAttribute::~LineAttribute() = default;
bool LineAttribute::isDefault() const
{
return mpLineAttribute.same_object(theGlobalDefault::get());
}
- LineAttribute& LineAttribute::operator=(const LineAttribute& rCandidate)
- {
- mpLineAttribute = rCandidate.mpLineAttribute;
- return *this;
- }
+ LineAttribute& LineAttribute::operator=(const LineAttribute&) = default;
bool LineAttribute::operator==(const LineAttribute& rCandidate) const
{