summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-09 14:28:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-10 11:34:00 +0000
commit50b68c341f2543c4d841fce4d4b3e080f4491e1d (patch)
treeddeece0ddf664cdd258ef6c19919c5644d9945b2 /ucb
parent8ceb85cafb0af066c5b8466da61a46eef2779dc6 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/sorter/sortresult.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx
index a074b7f85210..38b3c7583ed0 100644
--- a/ucb/source/sorter/sortresult.cxx
+++ b/ucb/source/sorter/sortresult.cxx
@@ -732,8 +732,6 @@ void SAL_CALL SortedResultSet::setPropertyValue(
const OUString& PropertyName,
const Any& )
{
- std::unique_lock aGuard( maMutex );
-
if ( PropertyName == "RowCount" || PropertyName == "IsRowCountFinal" )
throw IllegalArgumentException();
else