From 50b68c341f2543c4d841fce4d4b3e080f4491e1d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Mar 2023 14:28:47 +0200 Subject: improve loplugin:unnecessarylocking to find more locking we can remove Change-Id: Ief7bc5ec2a1ff31f22a0ad366910b7fcc4725818 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148599 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svl/source/numbers/zforlist.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'svl') diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 51e9b3e6cc33..53914a0266cd 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3605,7 +3605,6 @@ sal_uInt32 SvNumberFormatter::GetFormatIndex( NfIndexTableOffset nTabOff, NfIndexTableOffset SvNumberFormatter::GetIndexTableOffset( sal_uInt32 nFormat ) const { - ::osl::MutexGuard aGuard( GetInstanceMutex() ); sal_uInt32 nOffset = nFormat % SV_COUNTRY_LANGUAGE_OFFSET; // relative index if ( nOffset > SV_MAX_COUNT_STANDARD_FORMATS ) { -- cgit v1.2.3