Kaydet (Commit) 8caf1164 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing mutex lock

Change-Id: Ifddd6131c2e62057561d4b17eeda88568f6ccf7c
üst 2626984d
...@@ -1032,6 +1032,7 @@ css::uno::Type ServiceManager::getElementType() ...@@ -1032,6 +1032,7 @@ css::uno::Type ServiceManager::getElementType()
} }
sal_Bool ServiceManager::hasElements() throw (css::uno::RuntimeException) { sal_Bool ServiceManager::hasElements() throw (css::uno::RuntimeException) {
osl::MutexGuard g(rBHelper.rMutex);
return return
!(data_.namedImplementations.empty() !(data_.namedImplementations.empty()
&& data_.dynamicImplementations.empty()); && data_.dynamicImplementations.empty());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment