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, 3 insertions, 7 deletions
diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx
index 7b8309e0de1c..3eefdd8c5f12 100644
--- a/basegfx/source/tools/b2dclipstate.cxx
+++ b/basegfx/source/tools/b2dclipstate.cxx
@@ -26,6 +26,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
+#include <utility>
namespace basegfx::utils
@@ -39,8 +40,8 @@ namespace basegfx::utils
mePendingOps(UNION)
{}
- explicit ImplB2DClipState( const B2DPolyPolygon& rPoly ) :
- maClipPoly(rPoly),
+ explicit ImplB2DClipState( B2DPolyPolygon aPoly ) :
+ maClipPoly(std::move(aPoly)),
mePendingOps(UNION)
{}
@@ -414,11 +415,6 @@ namespace basegfx::utils
return ((*mpImpl) == (*rRHS.mpImpl));
}
- bool B2DClipState::operator!=(const B2DClipState& rRHS) const
- {
- return !(*this == rRHS);
- }
-
void B2DClipState::unionRange(const B2DRange& rRange)
{
mpImpl->unionRange(rRange);