summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx4
-rw-r--r--basegfx/source/range/b2drangeclipper.cxx2
-rw-r--r--basegfx/source/tools/keystoplerp.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index f314fcb716cc..9d3cd7b450df 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -1067,9 +1067,9 @@ namespace basegfx::utils
}
}
- B2DPolyPolygon mergeToSinglePolyPolygon(const B2DPolyPolygonVector& rInput)
+ B2DPolyPolygon mergeToSinglePolyPolygon(B2DPolyPolygonVector&& rInput)
{
- B2DPolyPolygonVector aInput(rInput);
+ B2DPolyPolygonVector aInput(std::move(rInput));
// first step: prepareForPolygonOperation and simple merge of non-overlapping
// PolyPolygons for speedup; this is possible for the wanted OR-operation
diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 2920cda5ebd0..d371011f0361 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -333,7 +333,7 @@ namespace basegfx
private:
void handleInitialOwnEdge(SweepLineEvent const & rEvent,
- ActiveEdge& rActiveEdge) const
+ ActiveEdge const & rActiveEdge) const
{
const bool isActiveEdgeProceedLeft(
rActiveEdge.getEdgeDirection() == ActiveEdge::PROCEED_LEFT);
diff --git a/basegfx/source/tools/keystoplerp.cxx b/basegfx/source/tools/keystoplerp.cxx
index 0610dd19c228..e5d0d76304e2 100644
--- a/basegfx/source/tools/keystoplerp.cxx
+++ b/basegfx/source/tools/keystoplerp.cxx
@@ -42,8 +42,8 @@ static void validateInput(const std::vector<double>& rKeyStops)
namespace basegfx::utils
{
- KeyStopLerp::KeyStopLerp( const std::vector<double>& rKeyStops ) :
- maKeyStops(rKeyStops),
+ KeyStopLerp::KeyStopLerp( std::vector<double>&& rKeyStops ) :
+ maKeyStops(std::move(rKeyStops)),
mnLastIndex(0)
{
validateInput(maKeyStops);