summaryrefslogtreecommitdiff
path: root/basegfx/source/tools/b2dclipstate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/tools/b2dclipstate.cxx')
-rw-r--r--basegfx/source/tools/b2dclipstate.cxx10
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();