diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 14:50:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-29 09:23:46 +0200 |
commit | 68697779cbe7fe3268e9cdb553688228c1efb97b (patch) | |
tree | 63b55fdcb3e6f34640217cc43bd6b82e95a00089 /svx/source/sdr/attribute | |
parent | 8898f0e128d10b135a7388ec113b35949f326811 (diff) |
cid#1371188 Missing move assignment operator
Change-Id: I775db6b3c9db0847184f12fad778a1fc3fcd92eb
Diffstat (limited to 'svx/source/sdr/attribute')
-rw-r--r-- | svx/source/sdr/attribute/sdrformtextattribute.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx index b960efef6d8c..2f245f12e2c7 100644 --- a/svx/source/sdr/attribute/sdrformtextattribute.cxx +++ b/svx/source/sdr/attribute/sdrformtextattribute.cxx @@ -279,6 +279,11 @@ namespace drawinglayer { } + SdrFormTextAttribute::SdrFormTextAttribute(SdrFormTextAttribute&& rCandidate) + : mpSdrFormTextAttribute(std::move(rCandidate.mpSdrFormTextAttribute)) + { + } + SdrFormTextAttribute::~SdrFormTextAttribute() { } @@ -294,6 +299,12 @@ namespace drawinglayer return *this; } + SdrFormTextAttribute& SdrFormTextAttribute::operator=(SdrFormTextAttribute&& rCandidate) + { + mpSdrFormTextAttribute = std::move(rCandidate.mpSdrFormTextAttribute); + return *this; + } + bool SdrFormTextAttribute::operator==(const SdrFormTextAttribute& rCandidate) const { // tdf#87509 default attr is always != non-default attr, even with same values |