diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygonclipper.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dpolygoncutandtouch.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/tools/systemdependentdata.cxx | 2 |
5 files changed, 5 insertions, 5 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()); diff --git a/basegfx/source/tools/systemdependentdata.cxx b/basegfx/source/tools/systemdependentdata.cxx index 61fa9dfe7826..2c1c173eff96 100644 --- a/basegfx/source/tools/systemdependentdata.cxx +++ b/basegfx/source/tools/systemdependentdata.cxx @@ -137,7 +137,7 @@ namespace basegfx SystemDependentDataHolder::~SystemDependentDataHolder() { - for(auto& candidate : maSystemDependentReferences) + for(const auto& candidate : maSystemDependentReferences) { basegfx::SystemDependentData_SharedPtr aData(candidate.second.lock()); |