diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-21 10:26:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 10:27:17 +0200 |
commit | 8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe (patch) | |
tree | af1f197feb0a40e819cc4ed74efce934935c9cae /basegfx/source/polygon/b2dpolypolygoncutter.cxx | |
parent | b19ac3c4c6b4a41a1f3acac68b299fd676428a87 (diff) |
clang-tidy modernize-loop-convert in b*
Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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()) { |