[Libreoffice-commits] core.git: vcl/source
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 24 10:39:35 UTC 2020
vcl/source/outdev/bitmap.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c526769bd63bc492b596f4f1b50b65a59c419fef
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Jun 24 10:26:38 2020 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Jun 24 12:39:00 2020 +0200
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 at collabora.com>
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 ) );
}
More information about the Libreoffice-commits
mailing list