summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-10 14:34:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-10 14:35:04 +0200
commit8caf1164ee7cb8e27059d329fbffa3883731c0ae (patch)
tree79113d3117a077a51906c1cc7d6cc289b13ce6b9 /cppuhelper
parent2626984db88f2a9a7cb1d880466beb4a7c1cd5c0 (diff)
Missing mutex lock
Change-Id: Ifddd6131c2e62057561d4b17eeda88568f6ccf7c
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index c3bdba370d40..4e0ea17435e9 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -1032,6 +1032,7 @@ css::uno::Type ServiceManager::getElementType()
}
sal_Bool ServiceManager::hasElements() throw (css::uno::RuntimeException) {
+ osl::MutexGuard g(rBHelper.rMutex);
return
!(data_.namedImplementations.empty()
&& data_.dynamicImplementations.empty());