diff options
Diffstat (limited to 'configmgr/source/configurationprovider.cxx')
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 364642dd6a99..65e33b7ce55d 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -93,9 +93,9 @@ class Service: public: explicit Service( css::uno::Reference< css::uno::XComponentContext > const context): - ServiceBase(m_aMutex), context_(context), default_(true) + ServiceBase(m_aMutex), context_(context), default_(true), + lock_( lock() ) { - lock_ = lock(); assert(context.is()); } @@ -103,9 +103,9 @@ public: css::uno::Reference< css::uno::XComponentContext > const context, OUString const & locale): ServiceBase(m_aMutex), context_(context), locale_(locale), - default_(false) + default_(false), + lock_( lock() ) { - lock_ = lock(); assert(context.is()); } |