From 3cdab0587977927b781a631dd8e2d43a3faa3c07 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Dec 2021 10:01:32 +0200 Subject: use more cppu::BaseMutex Change-Id: I00b63f8ce201d2f83b89b493b4ae086368ed54d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127082 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/unodraw/unoshape.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx') diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index eed9f89f2116..86b3d875d64a 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -194,7 +194,7 @@ sal_Int16 GetTextFitToSizeScale(SdrObject* pObject) SvxShape::SvxShape( SdrObject* pObject ) : maSize(100,100) -, mpImpl( new SvxShapeImpl( *this, maMutex ) ) +, mpImpl( new SvxShapeImpl( *this, m_aMutex ) ) , mbIsMultiPropertyCall(false) , mpPropSet(getSvxMapProvider().GetPropertySet(SVXMAP_SHAPE, SdrObject::GetGlobalDrawObjectItemPool())) , maPropMapEntries(getSvxMapProvider().GetMap(SVXMAP_SHAPE)) @@ -207,7 +207,7 @@ SvxShape::SvxShape( SdrObject* pObject ) SvxShape::SvxShape( SdrObject* pObject, const SfxItemPropertyMapEntry* pEntries, const SvxItemPropertySet* pPropertySet ) : maSize(100,100) -, mpImpl( new SvxShapeImpl( *this, maMutex ) ) +, mpImpl( new SvxShapeImpl( *this, m_aMutex ) ) , mbIsMultiPropertyCall(false) , mpPropSet(pPropertySet) , maPropMapEntries(pEntries) @@ -1353,14 +1353,14 @@ Reference< beans::XPropertySetInfo > const & void SAL_CALL SvxShape::addPropertyChangeListener( const OUString& _propertyName, const Reference< beans::XPropertyChangeListener >& _listener ) { - ::osl::MutexGuard aGuard( maMutex ); + ::osl::MutexGuard aGuard( m_aMutex ); mpImpl->maPropertyNotifier.addPropertyChangeListener( _propertyName, _listener ); } void SAL_CALL SvxShape::removePropertyChangeListener( const OUString& _propertyName, const Reference< beans::XPropertyChangeListener >& _listener ) { - ::osl::MutexGuard aGuard( maMutex ); + ::osl::MutexGuard aGuard( m_aMutex ); mpImpl->maPropertyNotifier.removePropertyChangeListener( _propertyName, _listener ); } -- cgit