drawinglayer/source/tools/converters.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6eb4cce433e5c4e905910d6dfdf6fc15065a9d3e
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Oct 26 11:05:05 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Oct 26 15:46:10 2023 +0200

    tdf#157083 Artifacts in logos (gen)
    
    regression from commit
        commit 81994cb2b8b32453a92bcb011830fcb884f22ff3
        Author: Noel Grandin <noelgran...@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 <plub...@neooffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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);
     }

Reply via email to