summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-18 11:30:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-19 17:40:47 +0200
commit7ffa7e56c0202227f2ec75fce5234bb2bf89e455 (patch)
treeaf56d098ea2fcaae7383eb5ff6b6bc5f67a4a131 /sfx2
parent5baac4e53128d3c0fc73b9918dc9a9c2777ace08 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/UnoDeck.cxx2
-rw-r--r--sfx2/source/sidebar/UnoPanels.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/UnoDeck.cxx b/sfx2/source/sidebar/UnoDeck.cxx
index a7c9ff00d8fd..a2c45b27706a 100644
--- a/sfx2/source/sidebar/UnoDeck.cxx
+++ b/sfx2/source/sidebar/UnoDeck.cxx
@@ -37,8 +37,6 @@ SidebarController* SfxUnoDeck::getSidebarController()
OUString SAL_CALL SfxUnoDeck::getId()
{
- SolarMutexGuard aGuard;
-
return mDeckId;
}
diff --git a/sfx2/source/sidebar/UnoPanels.cxx b/sfx2/source/sidebar/UnoPanels.cxx
index de1823d00cc2..85416c046067 100644
--- a/sfx2/source/sidebar/UnoPanels.cxx
+++ b/sfx2/source/sidebar/UnoPanels.cxx
@@ -38,8 +38,6 @@ SidebarController* SfxUnoPanels::getSidebarController()
OUString SAL_CALL SfxUnoPanels::getDeckId()
{
- SolarMutexGuard aGuard;
-
return mDeckId;
}