From ac2eaaab7af7100b527b76adb35718317f33c49c Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Wed, 7 Mar 2012 00:28:26 +0100 Subject: [PATCH] Align transparency cut-off with application defaults So, the Impress transparence default is 50% - we'd want that to *not* be fully transparent on vclcanvas, so shift the cut-off by one --- vcl/source/gdi/outdev2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index d6553ab70edf..11a9c1ebb853 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -816,7 +816,7 @@ void OutputDevice::ImplDrawBitmapEx( const Point& rDestPt, const Size& rDestSize // output, having alpha-induced grey levels is not // acceptable. Bitmap aMask( aBmpEx.GetAlpha().GetBitmap() ); - aMask.MakeMono( 128 ); + aMask.MakeMono( 129 ); aBmpEx = BitmapEx( aColorBmp, aMask ); } else