From c526769bd63bc492b596f4f1b50b65a59c419fef Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 24 Jun 2020 10:26:38 +0200 Subject: one more BmpConversion::N8BitNoConversion for alpha hack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- vcl/source/outdev/bitmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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 ) ); } -- cgit