vcl/source/outdev/bitmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b97097dea322754a543251b810f77836ace62d2d
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon Sep 1 10:27:15 2025 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Sep 1 14:34:09 2025 +0200

    fix lcl_BlendBitmapWithAlpha
    
    broken since
        commit 47a8ba44e619f0c80c0a1611d56f58df5f6575bd
        Author: Christopher Sherlock <chris.sherloc...@gmail.com>
        Date:   Sat Aug 2 15:38:19 2025 +1000
        vcl: rename parameters of lcl_BlendBitmapWithAlpha()
    
    Change-Id: I87d3b2b8da0833120edb128a9d2589f2b5c04ac6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190471
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index f7e20a9fd40d..a4c68121837c 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -457,7 +457,7 @@ Bitmap lcl_BlendBitmapWithAlpha(
             for( int nY = 0; nY < nDstHeight; nY++ )
             {
                 const tools::Long  nMapY = pMapY[ nY ];
-                Scanline pScanlineB = pSrcBmp->GetScanline(nY);
+                Scanline pScanlineB = pDstBmp->GetScanline(nY);
 
                 for( int nX = 0; nX < nDstWidth; nX++ )
                 {

Reply via email to