diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-06-24 10:26:38 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-06-24 12:39:00 +0200 |
commit | c526769bd63bc492b596f4f1b50b65a59c419fef (patch) | |
tree | c7ca6c9115f55236eaf5250d856065ab1db698af /vcl | |
parent | e7fee907fa8240c742bd8f6268768d1acad2774f (diff) |
one more BmpConversion::N8BitNoConversion for alpha hack
This was supposed to be included in
2fcfbd73768b69ba58607a054e7f851be2942992.
Change-Id: I79b6f1c953784d3288d3830dbe232630aac392f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96987
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index 401ebd6a77f2..ea29dc438119 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -482,7 +482,7 @@ BitmapEx OutputDevice::GetBitmapEx( const Point& rSrcPt, const Size& rSize ) con // ensure 8 bit alpha if( aAlphaBitmap.GetBitCount() > 8 ) - aAlphaBitmap.Convert( BmpConversion::N8BitGreys ); + aAlphaBitmap.Convert( BmpConversion::N8BitNoConversion ); return BitmapEx(GetBitmap( rSrcPt, rSize ), AlphaMask( aAlphaBitmap ) ); } |