summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b3dpolygon.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index 184194313fd8..517cb97ec97e 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -1508,6 +1508,11 @@ namespace basegfx
{
}
+ B3DPolygon::B3DPolygon(B3DPolygon&& rPolygon) :
+ mpPolygon(std::move(rPolygon.mpPolygon))
+ {
+ }
+
B3DPolygon::~B3DPolygon()
{
}
@@ -1518,6 +1523,12 @@ namespace basegfx
return *this;
}
+ B3DPolygon& B3DPolygon::operator=(B3DPolygon&& rPolygon)
+ {
+ mpPolygon = std::move(rPolygon.mpPolygon);
+ return *this;
+ }
+
bool B3DPolygon::operator==(const B3DPolygon& rPolygon) const
{
if(mpPolygon.same_object(rPolygon.mpPolygon))