diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-18 16:28:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-18 20:14:32 +0200 |
commit | 75b72f5652b9067eee24b1dd76c9076fd9317e28 (patch) | |
tree | 93d1824adcfd4fdb1ad098939e6ca22f1eb1f2cf /sc/source/ui/unoobj/afmtuno.cxx | |
parent | 9f25d34d652de14959b5eebed8462225b43e408c (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/afmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index 6507ce6e2ec2..ce0300628ae4 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -285,7 +285,6 @@ uno::Any SAL_CALL ScAutoFormatsObj::getByIndex( sal_Int32 nIndex ) uno::Type SAL_CALL ScAutoFormatsObj::getElementType() { - SolarMutexGuard aGuard; return cppu::UnoType<container::XNamed>::get(); // must match getByIndex } @@ -403,7 +402,6 @@ uno::Any SAL_CALL ScAutoFormatObj::getByIndex( sal_Int32 nIndex ) uno::Type SAL_CALL ScAutoFormatObj::getElementType() { - SolarMutexGuard aGuard; return cppu::UnoType<beans::XPropertySet>::get(); // must match getByIndex } |