diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 13:16:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 13:34:46 +0200 |
commit | b9ab0dd3e5eb3c948ee9a29006637e48d5751a5e (patch) | |
tree | 7e07b3d44bffc758c920216a0fa9194b90741a32 /basegfx/source | |
parent | 3d8154789bca1f5a0901859e23bf5e4b458af1ff (diff) |
cid#1371276 Missing move assignment operator
also cid#1371234, cid#1371249, cid#1371208,
cid#1371250, cid#1371258, cid#1371266, cid#1371257,
cid#1371221
Change-Id: I18d952887b684e1999d003cec0f668789c851b52
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/tools/b2dclipstate.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx index d4bc4fa867ed..84e8e2cf58d4 100644 --- a/basegfx/source/tools/b2dclipstate.cxx +++ b/basegfx/source/tools/b2dclipstate.cxx @@ -393,6 +393,10 @@ namespace tools mpImpl(rOrig.mpImpl) {} + B2DClipState::B2DClipState( B2DClipState&& rOrig ) : + mpImpl(std::move(rOrig.mpImpl)) + {} + B2DClipState::B2DClipState( const B2DPolyPolygon& rPolyPoly ) : mpImpl( ImplB2DClipState(rPolyPoly) ) {} @@ -403,6 +407,12 @@ namespace tools return *this; } + B2DClipState& B2DClipState::operator=( B2DClipState&& rRHS ) + { + mpImpl = std::move(rRHS.mpImpl); + return *this; + } + void B2DClipState::makeNull() { mpImpl->makeNull(); |