summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/nameuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-18 16:28:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-18 20:14:32 +0200
commit75b72f5652b9067eee24b1dd76c9076fd9317e28 (patch)
tree93d1824adcfd4fdb1ad098939e6ca22f1eb1f2cf /sc/source/ui/unoobj/nameuno.cxx
parent9f25d34d652de14959b5eebed8462225b43e408c (diff)
no need to take a lock when returning static data
Change-Id: I8d836c4a919056e8b600549f82b0d5dee9ab1a47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134536 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/nameuno.cxx')
-rw-r--r--sc/source/ui/unoobj/nameuno.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 9a286bb6d41b..54cadb9e8de7 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -613,7 +613,6 @@ uno::Any SAL_CALL ScNamedRangesObj::getByIndex( sal_Int32 nIndex )
uno::Type SAL_CALL ScNamedRangesObj::getElementType()
{
- SolarMutexGuard aGuard;
return cppu::UnoType<sheet::XNamedRange>::get(); // must be suitable for getByIndex
}
@@ -1148,9 +1147,7 @@ uno::Any SAL_CALL ScLabelRangesObj::getByIndex( sal_Int32 nIndex )
uno::Type SAL_CALL ScLabelRangesObj::getElementType()
{
- SolarMutexGuard aGuard;
return cppu::UnoType<sheet::XLabelRange>::get(); // must be suitable for getByIndex
-
}
sal_Bool SAL_CALL ScLabelRangesObj::hasElements()