summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index d89289a165a4..0c71a046b67a 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -878,6 +878,9 @@ void cppuhelper::ServiceManager::loadImplementation(
void cppuhelper::ServiceManager::loadAllImplementations()
{
+#ifdef DISABLE_DYNLOADING
+ abort();
+#else
rtl::OUString aUri;
osl::MutexGuard g(rBHelper.rMutex);
@@ -908,6 +911,7 @@ void cppuhelper::ServiceManager::loadAllImplementations()
iterator->second->status = Data::Implementation::STATUS_LOADED;
}
}
+#endif
}
void cppuhelper::ServiceManager::disposing() {