diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 10:30:30 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 10:30:30 +0000 |
commit | 945f723a68efdc6a42d3dadfbefaad7cc7e9525e (patch) | |
tree | 17a8a39364b6d7015eec6685b08d5e6191708c80 /framework/source/threadhelp | |
parent | 6bb358d23c38c45a2eb61d6eba7accee66160dbf (diff) |
INTEGRATION: CWS warnings01 (1.7.32); FILE MERGED
2005/11/16 13:10:41 pl 1.7.32.2: #i55991# removed warnings
2005/10/28 14:48:41 cd 1.7.32.1: #i55991# Warning free code changes for gcc
Diffstat (limited to 'framework/source/threadhelp')
-rw-r--r-- | framework/source/threadhelp/transactionmanager.cxx | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/framework/source/threadhelp/transactionmanager.cxx b/framework/source/threadhelp/transactionmanager.cxx index 56798a8dfa43..2cfc69cb1539 100644 --- a/framework/source/threadhelp/transactionmanager.cxx +++ b/framework/source/threadhelp/transactionmanager.cxx @@ -4,9 +4,9 @@ * * $RCSfile: transactionmanager.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-09 01:49:10 $ + * last change: $Author: hr $ $Date: 2006-06-19 11:30:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -97,6 +97,21 @@ TransactionManager::TransactionManager() m_aBarrier.open(); } +/*-************************************************************************************************************//** + @short standard dtor + @descr - + + @seealso - + + @param - + @return - + + @onerror - +*//*-*************************************************************************************************************/ +TransactionManager::~TransactionManager() +{ +} + /*-****************************************************************************************************//** @interface ITransactionManager @short set new working mode @@ -177,7 +192,7 @@ void TransactionManager::setWorkingMode( EWorkingMode eMode ) // Make member access threadsafe! ResetableGuard aGuard( m_aMutex ); - // Check working mode again .. because anozther instance could be faster. + // Check working mode again .. because anoz�ther instance could be faster. // (It's possible to set this guard at first of this method too!) if( m_aTransactionManager.getWorkingMode() == E_INIT ) { @@ -393,7 +408,12 @@ void TransactionManager::impl_throwExceptions( EExceptionMode eMode, ERejectReas LOG_ERROR( "TransactionManager...", "Owner instance already closed. Call was rejected!" ) throw css::lang::DisposedException( DECLARE_ASCII("TransactionManager...\nOwner instance already closed. Call was rejected!\n" ), css::uno::Reference< css::uno::XInterface >() ); } + case E_NOREASON : { + // Help programmer to find out + LOG_ERROR( "TransactionManager...", "Impossible case E_NOREASON!" ) + } break; + default: break; // nothing to do } } } |