vcl/source/helper/canvasbitmap.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit fa728837ecab38b59c2c562ed48505f204a89bea Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Aug 15 18:59:20 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Aug 16 08:27:55 2023 +0200 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.gran...@collabora.co.uk> 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; }