summaryrefslogtreecommitdiff
path: root/basic/source/uno
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-12-05 21:25:20 +0100
committerMichael Stahl <mstahl@redhat.com>2017-12-06 10:03:24 +0100
commit9f9347c26531bc084d081f21b43c232f411e2cee (patch)
treeb66a48327acced540e15d692ba8a1bd84192fafe /basic/source/uno
parent15cdcd0346b7aa98d4697edec8aeea9c810efa62 (diff)
basic: SfxLibraryContainer: replace maMutex
... with cppu::BaseMutex, because a member cannot ensure the life cycle guarantees expected by WeakComponentImplHelper. Change-Id: Iaa10c699abf69882d917487740db241ba1455e1c
Diffstat (limited to 'basic/source/uno')
-rw-r--r--basic/source/uno/namecont.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index b5853950aeef..54b2f8eb1bf1 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -359,12 +359,11 @@ bool VBAScriptListenerContainer::implTypedNotify( const Reference< vba::XVBAScri
// Ctor
SfxLibraryContainer::SfxLibraryContainer()
- : SfxLibraryContainer_BASE( maMutex )
-
- , maVBAScriptListeners( maMutex )
+ : SfxLibraryContainer_BASE( m_aMutex )
+ , maVBAScriptListeners( m_aMutex )
, mnRunningVBAScripts( 0 )
, mbVBACompat( false )
- , maModifiable( *this, maMutex )
+ , maModifiable( *this, m_aMutex )
, maNameContainer( new NameContainer(cppu::UnoType<XNameAccess>::get()) )
, mbOldInfoFormat( false )
, mbOasis2OOoFormat( false )