[Libreoffice-commits] .: cppuhelper/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Fri Aug 10 05:36:48 PDT 2012
cppuhelper/source/defaultbootstrap.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8caf1164ee7cb8e27059d329fbffa3883731c0ae
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Aug 10 14:34:03 2012 +0200
Missing mutex lock
Change-Id: Ifddd6131c2e62057561d4b17eeda88568f6ccf7c
diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index c3bdba3..4e0ea17 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());
More information about the Libreoffice-commits
mailing list