From ca8bdb17dff84278273dbe70c4ac0a5c30de5822 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Jul 2013 11:16:27 +0200 Subject: improve comments Change-Id: Ib2735c946ca331382e0c178b303c3769c0a35185 --- framework/source/fwi/threadhelp/transactionmanager.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework') diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index 5c1ccfb1b88c..cd1a30e69fdc 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -177,7 +177,7 @@ EWorkingMode TransactionManager::getWorkingMode() const @seealso method unregisterTransaction() - @param "eMode" ,used to enable/disable throwing exceptions automaticly for rejected calls + @param "eMode" ,used to enable/disable throwing exceptions automatically for rejected calls @param "eReason" ,reason for rejected calls if eMode=E_NOEXCEPTIONS @return - @@ -273,9 +273,9 @@ sal_Bool TransactionManager::isCallRejected( ERejectReason& eReason ) const /*-****************************************************************************************************//** @short throw any exceptions for rejected calls - @descr If user whish to use our automaticly exception mode we use this impl-method. - We check all combinations of eReason and eExceptionMode and throw right exception with some - descriptions for recipient of it. + @descr If a user wishes to use our automatic exception mode we use this impl-method. + We check all combinations of eReason and eExceptionMode and throw correct exception with some + descriptions for the recipient. @seealso method registerTransaction() @seealso enum ERejectReason @@ -296,7 +296,7 @@ void TransactionManager::impl_throwExceptions( EExceptionMode eMode, ERejectReas case E_UNINITIALIZED : if( eMode == E_HARDEXCEPTIONS ) { // Help programmer to find out, why this exception is thrown! - LOG_ERROR( "TransactionManager...", "Owner instance not right initialized yet. Call was rejected! Normaly it's an algorithm error ... wrong usin of class!" ) + LOG_ERROR( "TransactionManager...", "Owner instance not correctly initialized yet. Call was rejected! Normally it's an algorithm error ... wrong use of class!" ) //ATTENTION: temp. disabled - till all bad code positions are detected and changed! */ // throw css::uno::RuntimeException( DECLARE_ASCII("TransactionManager...\nOwner instance not right initialized yet. Call was rejected! Normaly it's an algorithm error ... wrong usin of class!\n" ), css::uno::Reference< css::uno::XInterface >() ); } -- cgit