diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-19 15:34:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-20 08:03:27 +0200 |
commit | f2c02331a7dc0a924bbf30cbc279e92621e89590 (patch) | |
tree | d92115757b20ff0da9a85ab6ff420784d89bce11 /sc/source/ui/unoobj/cellsuno.cxx | |
parent | 66d8951df3c11ead0b9415eb292c3ae88689edf1 (diff) |
new loplugin:unnecessary locking
off by default, since each warning needs careful inspection
Change-Id: I805c1d1cdde531a1afdc76e87b22f879fc3c9753
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134641
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 38289f0108b2..763ee12f7b24 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3753,7 +3753,6 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryDependen uno::Reference<util::XSearchDescriptor> SAL_CALL ScCellRangesBase::createSearchDescriptor() { - SolarMutexGuard aGuard; return new ScCellSearchObj; } @@ -3874,7 +3873,6 @@ uno::Reference<uno::XInterface> SAL_CALL ScCellRangesBase::findNext( uno::Reference<util::XReplaceDescriptor> SAL_CALL ScCellRangesBase::createReplaceDescriptor() { - SolarMutexGuard aGuard; return new ScCellSearchObj; } @@ -8323,7 +8321,6 @@ OUString SAL_CALL ScTableColumnObj::getName() void SAL_CALL ScTableColumnObj::setName( const OUString& /* aNewName */ ) { - SolarMutexGuard aGuard; throw uno::RuntimeException(); // read-only } |