cppuhelper/source/defaultbootstrap.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8caf1164ee7cb8e27059d329fbffa3883731c0ae
Author: Stephan Bergmann <sberg...@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());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to