From 7ffa7e56c0202227f2ec75fce5234bb2bf89e455 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 18 Aug 2023 11:30:32 +0200 Subject: loplugin: new global analysis locking2 look for methods where we don't need to guard access to the field, because the field is never modified Change-Id: I62c33cc3f52881557515765d3733c4afc78547aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155836 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/control/accessibleruler.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'svtools/source') diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx index 6bb9b63e4b07..cf7436f2d034 100644 --- a/svtools/source/control/accessibleruler.cxx +++ b/svtools/source/control/accessibleruler.cxx @@ -181,7 +181,6 @@ OUString SAL_CALL SvtRulerAccessible::getAccessibleDescription() OUString SAL_CALL SvtRulerAccessible::getAccessibleName() { - ::osl::MutexGuard aGuard( m_aMutex ); return msName; } -- cgit