summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-15 18:59:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-16 08:27:55 +0200
commitfa728837ecab38b59c2c562ed48505f204a89bea (patch)
tree6c3f603fafafafa78c28e409e36be6c1d1066a1e /vcl
parent6cda5cd1b768f99e01e483f5e76092403aeb69a7 (diff)
no need for mutex locking here
these values are assigned in the constructor and never updated Change-Id: Ia4e0524c2b5c5465f9659eb88a11b955492e7e63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155723 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/helper/canvasbitmap.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/helper/canvasbitmap.cxx b/vcl/source/helper/canvasbitmap.cxx
index e64cd07a8940..67e14d4ee9b2 100644
--- a/vcl/source/helper/canvasbitmap.cxx
+++ b/vcl/source/helper/canvasbitmap.cxx
@@ -932,13 +932,11 @@ uno::Sequence< double > SAL_CALL VclCanvasBitmap::convertFromPARGB( const uno::S
sal_Int32 SAL_CALL VclCanvasBitmap::getBitsPerPixel( )
{
- SolarMutexGuard aGuard;
return m_nBitsPerOutputPixel;
}
uno::Sequence< ::sal_Int32 > SAL_CALL VclCanvasBitmap::getComponentBitCounts( )
{
- SolarMutexGuard aGuard;
return m_aComponentBitCounts;
}