diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2009-11-12 16:49:55 +0100 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2009-11-12 16:49:55 +0100 |
commit | f24cbb654395faa768396995ec62398cf7d815d4 (patch) | |
tree | 84c7b99cea6317d0b6d7e9d9de60b17229e120b7 /ucb | |
parent | f4744ab09c08782158973962061166dde402b417 (diff) |
#i106830# - cleanup.
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/NeonLockStore.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav/NeonLockStore.cxx b/ucb/source/ucp/webdav/NeonLockStore.cxx index b6246e8c3485..9d151bc2ba30 100644 --- a/ucb/source/ucp/webdav/NeonLockStore.cxx +++ b/ucb/source/ucp/webdav/NeonLockStore.cxx @@ -93,20 +93,18 @@ NeonLockStore::NeonLockStore() : m_pNeonLockStore( ne_lockstore_create() ), m_pTickerThread( 0 ) { - OSL_TRACE( "LockStore ctor." ); OSL_ENSURE( m_pNeonLockStore, "Unable to create neon lock store!" ); } // ------------------------------------------------------------------- NeonLockStore::~NeonLockStore() { - OSL_TRACE( "LockStore dtor." ); - stopTicker(); - // release active locks, if any (just for safety). + // release active locks, if any. OSL_ENSURE( m_aLockInfoMap.size() == 0, "NeonLockStore::~NeonLockStore - Releasing active locks!" ); + LockInfoMap::const_iterator it( m_aLockInfoMap.begin() ); const LockInfoMap::const_iterator end( m_aLockInfoMap.end() ); while ( it != end ) @@ -215,7 +213,6 @@ void NeonLockStore::removeLock( NeonLock * pLock ) void NeonLockStore::refreshLocks() { osl::MutexGuard aGuard( m_aMutex ); - //OSL_TRACE( "NeonLockStore::refreshLocks" ); LockInfoMap::iterator it( m_aLockInfoMap.begin() ); const LockInfoMap::const_iterator end( m_aLockInfoMap.end() ); |