summaryrefslogtreecommitdiffstats
path: root/canvas/source/factory/cf_service.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/factory/cf_service.cxx')
-rw-r--r--canvas/source/factory/cf_service.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index 6919d56fb219..8f16ce0db008 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -288,7 +288,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
OUString const & serviceName, Sequence<Any> const & args,
Reference<XComponentContext> const & xContext ) const
{
- std::lock_guard guard(m_mutex);
+ std::scoped_lock guard(m_mutex);
// forcing last entry from impl list, if config flag set
bool bForceLastEntry(false);