summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-03-07 00:28:26 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-03-16 17:02:21 +0100
commitac2eaaab7af7100b527b76adb35718317f33c49c (patch)
tree9cdfed909e496fbcf33899a81f077658a82efbfb /vcl
parent024d661424e90c832c2be5a3d482fc7a2d7b1cc5 (diff)
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
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev2.cxx2
1 files changed, 1 insertions, 1 deletions
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