diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-17 22:42:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-19 11:19:12 +0100 |
commit | 3152f5a33e787e33ec0dfef8c75d7bbf95194c00 (patch) | |
tree | cc1049cdf9424a5891ca5e255374ef9ca0ff57f5 /sd | |
parent | 729834abac1618aa2f0dcc6d774deb74f7c42bb3 (diff) |
use more cppu::BaseMutex
Change-Id: Iddd7438161ead93b27cf8e8058ca5b1eae3d8001
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127075
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 12 | ||||
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index ef1d1240c315..5a84029cb534 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -240,7 +240,7 @@ Reference<XAccessible> SAL_CALL { ThrowIfDisposed (); - ::osl::MutexGuard aGuard (maMutex); + ::osl::MutexGuard aGuard (m_aMutex); if (mxAccessibleOLEObject.is()) if (nIndex == 0) return mxAccessibleOLEObject; @@ -260,7 +260,7 @@ uno::Reference<XAccessible > SAL_CALL { ThrowIfDisposed (); - ::osl::MutexGuard aGuard (maMutex); + ::osl::MutexGuard aGuard (m_aMutex); uno::Reference<XAccessible> xChildAtPosition; sal_Int32 nChildCount = getAccessibleChildCount (); @@ -604,7 +604,7 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject ( // Assume that the accessible OLE Object disposes itself correctly. { - ::osl::MutexGuard aGuard (maMutex); + ::osl::MutexGuard aGuard (m_aMutex); mxAccessibleOLEObject = xOLEObject; } @@ -622,7 +622,7 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject ( ::osl::Mutex& AccessibleDocumentViewBase::implGetMutex() { - return maMutex; + return m_aMutex; } // return ourself as context in default case @@ -647,7 +647,7 @@ void uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes() { - ::osl::MutexGuard aGuard (maMutex); + ::osl::MutexGuard aGuard (m_aMutex); uno::Any anyAttribute; OUStringBuffer sValue; @@ -766,7 +766,7 @@ sal_Int32 SAL_CALL AccessibleDocumentViewBase::getForeground( ) sal_Int32 SAL_CALL AccessibleDocumentViewBase::getBackground( ) { ThrowIfDisposed (); - ::osl::MutexGuard aGuard (maMutex); + ::osl::MutexGuard aGuard (m_aMutex); return sal_Int32(mpViewShell->GetView()->getColorConfig().GetColorValue( ::svtools::DOCCOLOR ).nColor); } } // end of namespace accessibility diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 260a41a118d1..4d5524ac8c3e 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -202,7 +202,7 @@ uno::Reference<XAccessible> SAL_CALL { ThrowIfDisposed (); - ::osl::ClearableMutexGuard aGuard (maMutex); + ::osl::ClearableMutexGuard aGuard (m_aMutex); // Take care of children of the base class. sal_Int32 nCount = AccessibleDocumentViewBase::getAccessibleChildCount(); |