summaryrefslogtreecommitdiffstats
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dpolygonclipper.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygoncutandtouch.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx2
-rw-r--r--basegfx/source/polygon/b2dtrapezoid.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx
index d21ce300ee87..9d672b4397c0 100644
--- a/basegfx/source/polygon/b2dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b2dpolygonclipper.cxx
@@ -796,7 +796,7 @@ namespace basegfx
else
{
// the last triangle has not been altered, simply copy to result
- for(basegfx::B2DPoint & i : stack)
+ for(const basegfx::B2DPoint & i : stack)
aResult.append(i);
}
}
diff --git a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
index 9240f1e36577..0fd59291604e 100644
--- a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
+++ b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx
@@ -411,7 +411,7 @@ namespace basegfx
}
// append remapped tempVector entries for edge to tempPoints for edge
- for(temporaryPoint & rTempPoint : aTempPointVectorEdge)
+ for(const temporaryPoint & rTempPoint : aTempPointVectorEdge)
{
rTempPointsB.emplace_back(rTempPoint.getPoint(), nIndB, rTempPoint.getCut());
}
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index beb0136912fd..0ea1e8b9b863 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -1037,7 +1037,7 @@ namespace basegfx
B2DPolyPolygonVector aResult;
aResult.reserve(aInput.size());
- for(basegfx::B2DPolyPolygon & a : aInput)
+ for(const basegfx::B2DPolyPolygon & a : aInput)
{
const basegfx::B2DPolyPolygon aCandidate(prepareForPolygonOperation(a));
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx
index 3997feed01eb..ec3d037e6aa8 100644
--- a/basegfx/source/polygon/b2dtrapezoid.cxx
+++ b/basegfx/source/polygon/b2dtrapezoid.cxx
@@ -424,7 +424,7 @@ namespace basegfx
// there were horizontal edges. These can be excluded, but
// cuts with other edges need to be solved and added before
// ignoring them
- for(TrDeSimpleEdge & rHorEdge : rTrDeSimpleEdges)
+ for(const TrDeSimpleEdge & rHorEdge : rTrDeSimpleEdges)
{
// get horizontal edge as candidate; prepare its range and fixed Y
const B1DRange aRange(rHorEdge.getStart().getX(), rHorEdge.getEnd().getX());