summaryrefslogtreecommitdiff
path: root/basebmp/source
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp/source')
-rw-r--r--basebmp/source/bitmapdevice.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 22157b1e0e4d..90c5e7b4cc0e 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -1207,6 +1207,7 @@ void BitmapDevice::drawPolygon( const basegfx::B2DPolygon& rPoly,
const sal_uInt32 numVertices( rPoly.count() );
if( numVertices )
+ {
if( isCompatibleClipMask( rClip ) )
drawPolygon_i( rPoly,
mpImpl->maLineClipRect,
@@ -1214,6 +1215,7 @@ void BitmapDevice::drawPolygon( const basegfx::B2DPolygon& rPoly,
else
getGenericRenderer()->drawPolygon( rPoly, lineColor,
drawMode, rClip );
+ }
}
void BitmapDevice::fillPolyPolygon( const basegfx::B2DPolyPolygon& rPoly,