diff options
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 |