summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
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 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/bookmarkcontainer.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx b/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
index 3ffa2c6fe6a6..4072002ba326 100644
--- a/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
+++ b/dbaccess/source/core/dataaccess/bookmarkcontainer.cxx
@@ -179,7 +179,6 @@ void SAL_CALL OBookmarkContainer::removeContainerListener( const Reference< XCon
// XElementAccess
Type SAL_CALL OBookmarkContainer::getElementType( )
{
- MutexGuard aGuard(m_rMutex);
return ::cppu::UnoType<OUString>::get();
}