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 /sfx2/source | |
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 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/UnoDecks.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/UnoPanels.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/UnoDecks.cxx b/sfx2/source/sidebar/UnoDecks.cxx index cbd9d1c214e7..2d07ea1a7a5b 100644 --- a/sfx2/source/sidebar/UnoDecks.cxx +++ b/sfx2/source/sidebar/UnoDecks.cxx @@ -129,8 +129,6 @@ uno::Any SAL_CALL SfxUnoDecks::getByIndex( sal_Int32 Index ) // XElementAccess uno::Type SAL_CALL SfxUnoDecks::getElementType() { - SolarMutexGuard aGuard; - return uno::Type(); } diff --git a/sfx2/source/sidebar/UnoPanels.cxx b/sfx2/source/sidebar/UnoPanels.cxx index 40ebdbeb979f..4ef48eb5c587 100644 --- a/sfx2/source/sidebar/UnoPanels.cxx +++ b/sfx2/source/sidebar/UnoPanels.cxx @@ -141,8 +141,6 @@ uno::Any SAL_CALL SfxUnoPanels::getByIndex( sal_Int32 Index ) // XElementAccess uno::Type SAL_CALL SfxUnoPanels::getElementType() { - SolarMutexGuard aGuard; - return uno::Type(); } |