summaryrefslogtreecommitdiff
path: root/configmgr/source/readonlyaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/readonlyaccess.cxx')
-rw-r--r--configmgr/source/readonlyaccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx
index 286963c783a2..76da9e5c71a9 100644
--- a/configmgr/source/readonlyaccess.cxx
+++ b/configmgr/source/readonlyaccess.cxx
@@ -92,7 +92,7 @@ void Service::initialize(css::uno::Sequence< css::uno::Any > const & aArguments)
throw css::uno::RuntimeException(
"already initialized", static_cast< cppu::OWeakObject * >(this));
}
- osl::MutexGuard g2(*lock());
+ osl::MutexGuard g2(configmgr::GetLock());
Components & components = Components::getSingleton(context_);
root_ = new RootAccess(components, "/", locale, false);
components.addRootAccess(root_);