summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotextpathdecomposition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdotextpathdecomposition.cxx')
-rw-r--r--svx/source/svdraw/svdotextpathdecomposition.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotextpathdecomposition.cxx b/svx/source/svdraw/svdotextpathdecomposition.cxx
index 770bd440a86a..bb70c3e8e9c4 100644
--- a/svx/source/svdraw/svdotextpathdecomposition.cxx
+++ b/svx/source/svdraw/svdotextpathdecomposition.cxx
@@ -567,10 +567,10 @@ namespace
const drawinglayer::attribute::StrokeAttribute& rStrokeAttribute,
std::vector< drawinglayer::primitive2d::BasePrimitive2D* >& rTarget)
{
- for(basegfx::B2DPolyPolygonVector::const_iterator aPolygon(rB2DPolyPolyVector.begin()); aPolygon != rB2DPolyPolyVector.end(); ++aPolygon)
+ for(const auto& rB2DPolyPolygon : rB2DPolyPolyVector)
{
// prepare PolyPolygons
- basegfx::B2DPolyPolygon aB2DPolyPolygon = *aPolygon;
+ basegfx::B2DPolyPolygon aB2DPolyPolygon = rB2DPolyPolygon;
aB2DPolyPolygon.transform(rTransform);
for(auto const& rPolygon : aB2DPolyPolygon)