summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly2.cxx')
-rw-r--r--tools/source/generic/poly2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index 24099817ce9e..9ce0a042e4cd 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -126,7 +126,7 @@ void PolyPolygon::Optimize( PolyOptimizeFlags nOptimizeFlags )
AdaptiveSubdivide(aPolyPoly);
aPolyPoly.Optimize(nOptimizeFlags);
- *this = aPolyPoly;
+ *this = std::move(aPolyPoly);
}
else
{