diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygon.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx index aa7ee1891ac7..1ff3cac901b9 100644 --- a/basegfx/source/polygon/b3dpolypolygon.cxx +++ b/basegfx/source/polygon/b3dpolypolygon.cxx @@ -201,6 +201,11 @@ namespace basegfx { } + B3DPolyPolygon::B3DPolyPolygon(B3DPolyPolygon&& rPolyPolygon) : + mpPolyPolygon(std::move(rPolyPolygon.mpPolyPolygon)) + { + } + B3DPolyPolygon::B3DPolyPolygon(const B3DPolygon& rPolygon) : mpPolyPolygon( ImplB3DPolyPolygon(rPolygon) ) { @@ -216,6 +221,12 @@ namespace basegfx return *this; } + B3DPolyPolygon& B3DPolyPolygon::operator=(B3DPolyPolygon&& rPolyPolygon) + { + mpPolyPolygon = std::move(rPolyPolygon.mpPolyPolygon); + return *this; + } + bool B3DPolyPolygon::operator==(const B3DPolyPolygon& rPolyPolygon) const { if(mpPolyPolygon.same_object(rPolyPolygon.mpPolyPolygon)) |