| commit | 3622404f09448b82c095256140afe6240b522ece | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Wed Oct 11 12:54:43 2023 +0200 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Thu Oct 12 07:57:02 2023 +0200 |
| tree | a073aa55a39af1dfde7d3ca97e5062d78ca49b63 | |
| parent | 44fed6aec98320bf7ec793f08447bb8d455abc4f [diff] |
tdf#157636 FILEOPEN: PPT: Images have no background regression from commit 81994cb2b8b32453a92bcb011830fcb884f22ff3 Convert internal vcl bitmap formats transparency->alpha (II) Change-Id: Ia0ed01e7c0d41bd909fe48666bc9aca5ff31d2bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157824 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/vcl/source/bitmap/BitmapEx.cxx b/vcl/source/bitmap/BitmapEx.cxx index c9be555..7333aea 100644 --- a/vcl/source/bitmap/BitmapEx.cxx +++ b/vcl/source/bitmap/BitmapEx.cxx
@@ -1447,6 +1447,7 @@ void BitmapEx::CombineMaskOr(Color maskColor, sal_uInt8 nTol) Bitmap aNewMask = maBitmap.CreateMask( maskColor, nTol ); if ( IsAlpha() ) aNewMask.CombineOr( maAlphaMask ); aNewMask.Invert(); maAlphaMask = aNewMask; }