From 6eb4cce433e5c4e905910d6dfdf6fc15065a9d3e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Oct 2023 11:05:05 +0200 Subject: tdf#157083 Artifacts in logos (gen) regression from commit commit 81994cb2b8b32453a92bcb011830fcb884f22ff3 Author: Noel Grandin 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 Reviewed-by: Noel Grandin --- drawinglayer/source/tools/converters.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drawinglayer') 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); } -- cgit