From 8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Apr 2016 10:26:48 +0200 Subject: clang-tidy modernize-loop-convert in b* Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b --- basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx') diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index 3332976e9768..e7bf5a0ba246 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -1038,9 +1038,9 @@ namespace basegfx B2DPolyPolygonVector aResult; aResult.reserve(aInput.size()); - for(size_t a(0); a < aInput.size(); a++) + for(basegfx::B2DPolyPolygon & a : aInput) { - const basegfx::B2DPolyPolygon aCandidate(prepareForPolygonOperation(aInput[a])); + const basegfx::B2DPolyPolygon aCandidate(prepareForPolygonOperation(a)); if(!aResult.empty()) { -- cgit