summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-06-24 10:26:38 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-06-26 11:57:34 +0200
commita582e0651587b9ac518f27ee45a51ffb42e63264 (patch)
treec02a1695e5bd88b1253f63caa9feb5ca133e5b3a /vcl
parent96d8e26f82e026b99d68f53ec9edcd29bc5623e4 (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> (cherry picked from commit d502408495e5c27f5690b84e809debcc57da03f7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97002 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/bitmap.cxx2
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 ) );
}