diff options
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 8a40f1a09b43..6e9d15635bdb 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -1172,10 +1172,7 @@ void OpenGLSalGraphicsImpl::drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* if( UseSolid( mnFillColor ) ) { if( nPoly == 1 ) - { - for( sal_uInt32 i = 0; i < nPoly; i++ ) - DrawPolygon( pPoints[i], pPtAry[i] ); - } + DrawPolygon( pPoints[ 0 ], pPtAry[ 0 ] ); else { basegfx::B2DPolyPolygon polyPolygon; |