summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2010-01-29 12:28:08 +0000
committerPhilipp Lohmann <pl@openoffice.org>2010-01-29 12:28:08 +0000
commitf4546bdaedd77b3f2ff16a2ef8ec0ebe15ba2cd7 (patch)
tree9708350b1e91652b93f4c3a82960da41586bccc5
parentda2c680d23b67d4721aa29f740475fd6d40e2e08 (diff)
#i107763# avoid strange visuals on X11 platforms
-rw-r--r--vcl/source/gdi/outdev6.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index 2d436ea43659..3220069764d4 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -269,6 +269,9 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
// try hard to draw it directly, because the emulation layers are slower
if( !pDisableNative
&& mpGraphics->supportsOperation( OutDevSupport_B2DDraw )
+#if defined UNX && ! defined QUARTZ
+ && GetBitCount() > 8
+#endif
#ifdef WIN32
// workaround bad dithering on remote displaying when using GDI+ with toolbar buttoin hilighting
&& !rPolyPoly.IsRect()