vcl: make aSrcCol const

Change-Id: I3d13edcb773e147788295cbe61b904b0d27d0baa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188799
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Christopher Sherlock
2025-08-07 15:41:35 +02:00
committed by Noel Grandin
parent 8806772d4d
commit a143ed3bee
+1 -1
View File
@@ -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);