diff options
-rw-r--r-- | vcl/source/gdi/outdev4.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx index 184079781b79..f5ae9a7316db 100644 --- a/vcl/source/gdi/outdev4.cxx +++ b/vcl/source/gdi/outdev4.cxx @@ -833,13 +833,13 @@ void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly, if ( mnDrawMode & DRAWMODE_NOGRADIENT ) return; // nothing to draw! - if( mbInitClipRegion ) + if ( mbInitClipRegion ) ImplInitClipRegion(); - if( mbOutputClipped ) + if ( mbOutputClipped ) return; - if( rPolyPoly.Count() && rPolyPoly[ 0 ].GetSize() ) + if ( rPolyPoly.Count() && rPolyPoly[ 0 ].GetSize() ) { if ( mnDrawMode & ( DRAWMODE_BLACKGRADIENT | DRAWMODE_WHITEGRADIENT | DRAWMODE_SETTINGSGRADIENT) ) { |