https://bugs.documentfoundation.org/show_bug.cgi?id=172744
--- Comment #5 from [email protected] --- The following change restores the 25.8 behavior in 26.8. However, this is only a workaround. A proper fix requires revisiting the clrChange processing logic. ``` diff --git a/vcl/source/bitmap/bitmap.cxx b/vcl/source/bitmap/bitmap.cxx index 38ac109dcd33..244d4d35e40f 100644 --- a/vcl/source/bitmap/bitmap.cxx +++ b/vcl/source/bitmap/bitmap.cxx @@ -2243,7 +2243,7 @@ void Bitmap::ChangeColorAlpha( sal_uInt8 cIndexFrom, sal_Int8 nAlphaTo ) for ( tools::Long nX = 0, nWidth = pAccess->Width(); nX < nWidth; nX++ ) { BitmapColor aCol = pAccess->GetPixelFromData( pScanline, nX ); - const sal_uInt8 cIndex = aCol.GetAlpha(); + const sal_uInt8 cIndex = aCol.GetIndex(); if ( cIndex == cIndexFrom ) { aCol.SetAlpha(nAlphaTo); ``` -- You are receiving this mail because: You are the assignee for the bug.
