summaryrefslogtreecommitdiffstats
path: root/basegfx/source/polygon/b2dpolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolygon.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index 601f493c27b4..1a4d4a76da0c 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -186,12 +186,9 @@ public:
void transform(const basegfx::B2DHomMatrix& rMatrix)
{
- CoordinateData2DVector::iterator aStart(maVector.begin());
- CoordinateData2DVector::iterator aEnd(maVector.end());
-
- for(; aStart != aEnd; ++aStart)
+ for (auto & elem : maVector)
{
- aStart->transform(rMatrix);
+ elem.transform(rMatrix);
}
}
};