summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 11:41:01 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 11:41:30 +0200
commit19828cc01ff1e3421907f77863a464e87c70f57c (patch)
tree09b549625a5f0132a0969894fe2e4b069f3e3118 /drawinglayer
parent0e74870782bd46a9654e63e19d081528fcccb6fa (diff)
cid#1371315 Missing move assignment operator
Change-Id: I9da0ffe856a0a40094c1c553bb2c5e05d8d3ef5d
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/attribute/strokeattribute.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/drawinglayer/source/attribute/strokeattribute.cxx b/drawinglayer/source/attribute/strokeattribute.cxx
index 932be14cc9c8..c5b2d8dad33e 100644
--- a/drawinglayer/source/attribute/strokeattribute.cxx
+++ b/drawinglayer/source/attribute/strokeattribute.cxx
@@ -107,6 +107,12 @@ namespace drawinglayer
return *this;
}
+ StrokeAttribute& StrokeAttribute::operator=(StrokeAttribute&& rCandidate)
+ {
+ mpStrokeAttribute = rCandidate.mpStrokeAttribute;
+ return *this;
+ }
+
bool StrokeAttribute::operator==(const StrokeAttribute& rCandidate) const
{
// tdf#87509 default attr is always != non-default attr, even with same values