From fd1fda8feacd1d006960e4505ad21dea213f1ec1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 17 Dec 2021 18:49:14 +0200 Subject: osl::Mutex->std::mutex in AccessibleBrowseBoxAccess Change-Id: Idc6e32b81190b3940a42ddb4bb30f1eff35b59fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127070 Tested-by: Jenkins Reviewed-by: Noel Grandin --- accessibility/source/extended/AccessibleBrowseBox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accessibility/source/extended/AccessibleBrowseBox.cxx') diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx index 7dd780508816..8c620b98260b 100644 --- a/accessibility/source/extended/AccessibleBrowseBox.cxx +++ b/accessibility/source/extended/AccessibleBrowseBox.cxx @@ -281,7 +281,7 @@ AccessibleBrowseBoxAccess::~AccessibleBrowseBoxAccess() void AccessibleBrowseBoxAccess::dispose() { - ::osl::MutexGuard aGuard( m_aMutex ); + std::unique_lock aGuard( m_aMutex ); if (m_xContext.is()) { @@ -293,7 +293,7 @@ void AccessibleBrowseBoxAccess::dispose() css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleBrowseBoxAccess::getAccessibleContext() { - ::osl::MutexGuard aGuard( m_aMutex ); + std::unique_lock aGuard( m_aMutex ); // if the context died meanwhile (there is no listener, so it won't tell us explicitly when this happens), // then reset and re-create. -- cgit