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

New commits:
commit a143ed3bee8db2848623f27b951d2d08e6366d72
Author:     Christopher Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Sat Aug 2 15:39:44 2025 +1000
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Aug 7 15:41:35 2025 +0200

    vcl: make aSrcCol const
    
    Change-Id: I3d13edcb773e147788295cbe61b904b0d27d0baa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188799
    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 92b9214e26df..3c91094fa025 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -428,7 +428,7 @@ BitmapColor lcl_AlphaBlend(int nX, int nY,
                                BitmapReadAccess const* pSrcAlphaBmp,
                                BitmapReadAccess const* pDstBmp)
 {
-    BitmapColor aSrcCol = pSrcBmp->GetColor(nMapY, nMapX);
+    const BitmapColor aSrcCol = pSrcBmp->GetColor(nMapY, nMapX);
     BitmapColor aDstCol = pDstBmp->GetColor(nY, nX);
 
     const sal_uInt8 nSrcAlpha = pSrcAlphaBmp->GetPixelIndex(nMapY, nMapX);

Reply via email to