summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2025-01-24 12:10:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2025-01-24 14:18:34 +0100
commit973771c8cd1e9888f34511919070a0161e079229 (patch)
treecf4843ca63c4fcb000eca209e479fcf7bd0a5129 /vcl
parent9e77eefb0ef2d6a23a2d9833ad9783a194c37d1b (diff)
no need to store ColorMask in BitmapInfoAccess
when we already have it in the BitmapBuffer we point to Change-Id: I64158251c113f9dd11f21f4f3f112248b82db5f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180700 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/bitmap/BitmapReadAccess.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/bitmap/BitmapReadAccess.cxx b/vcl/source/bitmap/BitmapReadAccess.cxx
index c5e5a6a92c8e..3588f097b20b 100644
--- a/vcl/source/bitmap/BitmapReadAccess.cxx
+++ b/vcl/source/bitmap/BitmapReadAccess.cxx
@@ -41,8 +41,6 @@ BitmapReadAccess::BitmapReadAccess(const Bitmap& rBitmap, BitmapAccessMode nMode
if (!xImpBmp)
return;
- maColorMask = mpBuffer->maColorMask;
-
mFncGetPixel = GetPixelFunction(mpBuffer->meFormat);
mFncSetPixel = SetPixelFunction(mpBuffer->meFormat);