diff options
Diffstat (limited to 'vcl/opengl/RenderList.cxx')
-rw-r--r-- | vcl/opengl/RenderList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/RenderList.cxx b/vcl/opengl/RenderList.cxx index 6c60a1f74df2..4df0f620587c 100644 --- a/vcl/opengl/RenderList.cxx +++ b/vcl/opengl/RenderList.cxx @@ -334,7 +334,7 @@ void RenderList::addDrawPolyPolygon(const basegfx::B2DPolyPolygon& rPolyPolygon, for (sal_uInt32 i = 0; i <= nPoints; ++i) { - index1 = (i) % nPoints; + index1 = i % nPoints; index2 = (i + 1) % nPoints; x1 = aPolygon.getB2DPoint(index1).getX(); |