vcl/source/control/imp_listbox.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 36cada69dbda4beb46404a09f14a1f41a0910ba7
Author:     Noel Grandin <[email protected]>
AuthorDate: Sun Aug 31 07:48:47 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Sun Aug 31 13:23:16 2025 +0200

    BitmapEx->Bitmap in ImplListBoxWindow
    
    now that Bitmap supports transparency
    
    Change-Id: Ica1994282d9718a59b7789320e295ec846870949
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190429
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/vcl/source/control/imp_listbox.cxx 
b/vcl/source/control/imp_listbox.cxx
index 73284a54de2c..d9411f6a79e6 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -1702,7 +1702,7 @@ void ImplListBoxWindow::DrawEntry(vcl::RenderContext& 
rRenderContext, sal_Int32
                 const Color& 
rTopLeft(rStyleSettings.GetEdgeBlendingTopLeftColor());
                 const Color& 
rBottomRight(rStyleSettings.GetEdgeBlendingBottomRightColor());
                 const sal_uInt8 nAlpha(255 - ((nEdgeBlendingPercent * 255) / 
100));
-                const BitmapEx aBlendFrame(createAlphaBlendFrame(aImgSz, 
nAlpha, rTopLeft, rBottomRight));
+                const Bitmap aBlendFrame(createAlphaBlendFrame(aImgSz, nAlpha, 
rTopLeft, rBottomRight));
 
                 if (!aBlendFrame.IsEmpty())
                 {
@@ -2720,7 +2720,7 @@ void ImplWin::DrawEntry(vcl::RenderContext& 
rRenderContext, bool bLayout)
             const Color& 
rTopLeft(rStyleSettings.GetEdgeBlendingTopLeftColor());
             const Color& 
rBottomRight(rStyleSettings.GetEdgeBlendingBottomRightColor());
             const sal_uInt8 nAlpha(255 - ((nEdgeBlendingPercent * 255) / 100));
-            const BitmapEx aBlendFrame(createAlphaBlendFrame(aImgSz, nAlpha, 
rTopLeft, rBottomRight));
+            const Bitmap aBlendFrame(createAlphaBlendFrame(aImgSz, nAlpha, 
rTopLeft, rBottomRight));
 
             if(!aBlendFrame.IsEmpty())
             {

Reply via email to