diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-10-26 11:05:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-10-26 15:46:10 +0200 |
commit | 6eb4cce433e5c4e905910d6dfdf6fc15065a9d3e (patch) | |
tree | 9ca0e49991cb7485861caa3bfe8774e6ef926024 /drawinglayer | |
parent | 6787d2ae5eb99ea05dae586bbe50a8aa4dab8a3e (diff) |
tdf#157083 Artifacts in logos (gen)
regression from commit
commit 81994cb2b8b32453a92bcb011830fcb884f22ff3
Author: Noel Grandin <noelgrandin@gmail.com>
Date: Fri Apr 16 20:33:10 2021 +0200
Convert internal vcl bitmap formats transparency->alpha (II)
Change-Id: I1c269bcfa9b565258bc99c2810e960ae965f9b54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158491
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 9283f7db779f..56fe2fb91791 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -268,7 +268,7 @@ BitmapEx convertToBitmapEx(drawinglayer::primitive2d::Primitive2DContainer&& rSe // Now that vcl supports bitmaps with an alpha channel, only apply // this correction to bitmaps without an alpha channel. if (pContent->GetBitCount() < 32) - aRetval.RemoveBlendedStartColor(COL_WHITE, aAlpha); + aRetval.RemoveBlendedStartColor(COL_BLACK, aAlpha); // return combined result return BitmapEx(aRetval, aAlpha); } |