summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-16 09:40:28 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-16 11:37:11 +0000
commit21a9bc8716a88fa2472c525b2e6f84fe1213a8f8 (patch)
treea162ac3df92c1f1dfef046ab6426ffc9ca5d2b7b /filter
parentb317d5fbb5a0a8dc695391de3f9f6ee339341987 (diff)
no need to take a mutex when only dealing with stack-local data
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/basecontainer.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 82cea598684c..37e50945b2d9 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -152,10 +152,7 @@ FilterCache* BaseContainer::impl_getWorkingCache() const
OUString SAL_CALL BaseContainer::getImplementationName()
throw (css::uno::RuntimeException, std::exception)
{
- // SAFE ->
- ::osl::ResettableMutexGuard aLock(m_aLock);
return m_sImplementationName;
- // <- SAFE
}
@@ -169,10 +166,7 @@ sal_Bool SAL_CALL BaseContainer::supportsService(const OUString& sServiceName)
css::uno::Sequence< OUString > SAL_CALL BaseContainer::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- // SAFE ->
- ::osl::ResettableMutexGuard aLock(m_aLock);
return m_lServiceNames;
- // <- SAFE
}