summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute/sdrlineattribute.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/attribute/sdrlineattribute.cxx')
-rw-r--r--drawinglayer/source/attribute/sdrlineattribute.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/drawinglayer/source/attribute/sdrlineattribute.cxx b/drawinglayer/source/attribute/sdrlineattribute.cxx
index aac95d7a4644..8541aa4c2801 100644
--- a/drawinglayer/source/attribute/sdrlineattribute.cxx
+++ b/drawinglayer/source/attribute/sdrlineattribute.cxx
@@ -124,6 +124,11 @@ namespace drawinglayer
{
}
+ SdrLineAttribute::SdrLineAttribute(SdrLineAttribute&& rCandidate)
+ : mpSdrLineAttribute(rCandidate.mpSdrLineAttribute)
+ {
+ }
+
SdrLineAttribute::~SdrLineAttribute()
{
}
@@ -139,6 +144,12 @@ namespace drawinglayer
return *this;
}
+ SdrLineAttribute& SdrLineAttribute::operator=(SdrLineAttribute&& rCandidate)
+ {
+ mpSdrLineAttribute = rCandidate.mpSdrLineAttribute;
+ return *this;
+ }
+
bool SdrLineAttribute::operator==(const SdrLineAttribute& rCandidate) const
{
// tdf#87509 default attr is always != non-default attr, even with same values