diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-05 05:57:50 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-07-06 02:15:20 +0200 |
commit | 1d99fde435421fd93827b8d685ad6011d658d695 (patch) | |
tree | ef040901d4b16b9ca577f04e8bfbeba9cb3b4805 /basegfx/source | |
parent | a7b81ceaa695d0265b5cc02e4ead642b9b9ad54a (diff) |
no need to declare the variable outside of the loop
Change-Id: I4f910494114f7dd965a75f3f9482153e0268b89c
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx index 5357e6255134..b49f3c6cd1de 100644 --- a/basegfx/source/polygon/b2dtrapezoid.cxx +++ b/basegfx/source/polygon/b2dtrapezoid.cxx @@ -420,9 +420,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 - sal_uInt32 a(0); - - for(a = 0; a < rTrDeSimpleEdges.size(); a++) + for(sal_uInt32 a = 0; a < rTrDeSimpleEdges.size(); a++) { // get horizontal edge as candidate; prepare its range and fixed Y const TrDeSimpleEdge& rHorEdge = rTrDeSimpleEdges[a]; |