summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-21 16:34:41 +0100
committerMichael Stahl <mstahl@redhat.com>2014-01-21 20:07:00 +0100
commit54a370753cd1affd8c47cf171ef4a0f3bc76ba90 (patch)
treec9aaa56599cd633500f76ecfbb43daf43fd96946 /vcl
parent1115adbb5dc2dc05354f2a24a27cb37e522c92b4 (diff)
vcl: stylistic cleanup
Change-Id: Iaab13bd37b85128c9cf83b114a155f198b628587
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/wmf/winmtf.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index 20bbbfa88037..df47935d6cf9 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -518,7 +518,10 @@ Polygon& WinMtfOutput::ImplScale( Polygon& rPolygon )
PolyPolygon& WinMtfOutput::ImplScale( PolyPolygon& rPolyPolygon )
{
sal_uInt16 nPolys = rPolyPolygon.Count();
- for ( sal_uInt16 i = 0; i < nPolys; ImplScale( rPolyPolygon[ i++ ] ) ) ;
+ for (sal_uInt16 i = 0; i < nPolys; ++i)
+ {
+ ImplScale(rPolyPolygon[i]);
+ }
return rPolyPolygon;
}