diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 12:58:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 12:58:57 +0200 |
commit | 877dfa3783316c4c2850b0e5bd3837765d7c12c2 (patch) | |
tree | f71d8986d1eebeeb47783316682aa37f4cbba89e /drawinglayer | |
parent | 37ffcb1ce74d08ccbca1545714bbf81669cd3d03 (diff) |
cid#1371288 Missing move assignment operator
Change-Id: I5181c76f558e1806de01f21422c715cc93f3cb3d
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/attribute/fillhatchattribute.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drawinglayer/source/attribute/fillhatchattribute.cxx b/drawinglayer/source/attribute/fillhatchattribute.cxx index e55e1f71f55c..fef4cdf91679 100644 --- a/drawinglayer/source/attribute/fillhatchattribute.cxx +++ b/drawinglayer/source/attribute/fillhatchattribute.cxx @@ -113,6 +113,11 @@ namespace drawinglayer { } + FillHatchAttribute::FillHatchAttribute(FillHatchAttribute&& rCandidate) + : mpFillHatchAttribute(std::move(rCandidate.mpFillHatchAttribute)) + { + } + FillHatchAttribute::~FillHatchAttribute() { } @@ -128,6 +133,12 @@ namespace drawinglayer return *this; } + FillHatchAttribute& FillHatchAttribute::operator=(FillHatchAttribute&& rCandidate) + { + mpFillHatchAttribute = std::move(rCandidate.mpFillHatchAttribute); + return *this; + } + bool FillHatchAttribute::operator==(const FillHatchAttribute& rCandidate) const { // tdf#87509 default attr is always != non-default attr, even with same values |