[Libreoffice-commits] .: Branch 'integration/dev300_m101' - vcl/source

Michael Meeks mmeeks at kemper.freedesktop.org
Tue Mar 15 11:07:25 PDT 2011


 vcl/source/gdi/outdevnative.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f134c525b0d0f92711ad736cd6779e1425cf6f45
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Tue Mar 15 18:05:42 2011 +0000

    don't handle very oddly sized (but empty) control regions, they cause grief.

diff --git a/vcl/source/gdi/outdevnative.cxx b/vcl/source/gdi/outdevnative.cxx
index db346cf..df37150 100755
--- a/vcl/source/gdi/outdevnative.cxx
+++ b/vcl/source/gdi/outdevnative.cxx
@@ -236,7 +236,7 @@ sal_Bool OutputDevice::DrawNativeControl( ControlType nType,
 
     if ( mbInitClipRegion )
         ImplInitClipRegion();
-    if ( mbOutputClipped )
+    if ( mbOutputClipped || rControlRegion.IsEmpty() )
         return sal_True;
 
     if ( mbInitLineColor )


More information about the Libreoffice-commits mailing list