diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-05-14 13:26:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-14 14:41:55 +0200 |
commit | 61ac80a6f6d1efef7e69d2ded98ae53fe8e5a156 (patch) | |
tree | 1515e7905d9553a86411710190b073fbf19a68dd /framework/source/fwi | |
parent | 11fd73acce5d8bff7025bb6ddcbaf99d9d70b545 (diff) |
ENABLE_MUTEXDEBUG is never defined
Change-Id: I533cc7041177cceff14d1e44e4cd1d25d5e94c11
Diffstat (limited to 'framework/source/fwi')
-rw-r--r-- | framework/source/fwi/threadhelp/lockhelper.cxx | 2 | ||||
-rw-r--r-- | framework/source/fwi/threadhelp/transactionmanager.cxx | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/framework/source/fwi/threadhelp/lockhelper.cxx b/framework/source/fwi/threadhelp/lockhelper.cxx index d32fafb170e2..900fef47d2c4 100644 --- a/framework/source/fwi/threadhelp/lockhelper.cxx +++ b/framework/source/fwi/threadhelp/lockhelper.cxx @@ -506,8 +506,6 @@ ELockType& LockHelper::implts_getLockType() eType = (ELockType)(sValue.toInt32()); } - LOG_LOCKTYPE( FALLBACK_LOCKTYPE, eType ) - pType = &eType; } } diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index 7f3ac4838ac4..5c1ccfb1b88c 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -200,10 +200,6 @@ void TransactionManager::registerTransaction( EExceptionMode eMode, ERejectReas // Safe access to internal member. ::osl::MutexGuard aAccessGuard( m_aAccessLock ); - #ifdef ENABLE_MUTEXDEBUG - LOG_ASSERT2( m_nTransactionCount<0, "TransactionManager::acquire()", "Wrong ref count detected!" ) - #endif - // Register this new transaction. // If it is the first one .. close gate to disable changing of working mode. ++m_nTransactionCount; @@ -231,10 +227,6 @@ void TransactionManager::unregisterTransaction() throw( css::uno::RuntimeExcept // Safe access to internal member. ::osl::MutexGuard aAccessGuard( m_aAccessLock ); - #ifdef ENABLE_MUTEXDEBUG - LOG_ASSERT2( m_nTransactionCount<=0, "TransactionManager::release()", "Wrong ref count detected!" ) - #endif - // Deregister this transaction. // If it was the last one ... open gate to enable changing of working mode! // (see setWorkingMode()) |