Kaydet (Commit) 168315e3 authored tarafından Luboš Luňák's avatar Luboš Luňák

remove needless loop

Change-Id: Iaec5aa5bd353c888a3b35a277a3618c29d9cbd67
üst ac8fdc7d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment