summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-08 11:16:27 +0200
committerNoel Grandin <noel@peralex.com>2013-07-23 10:05:42 +0200
commitca8bdb17dff84278273dbe70c4ac0a5c30de5822 (patch)
tree5cd02700a10ec97ba2606d7c561bd3eb2e7cfef9 /framework
parent9c41a60c0d802c618ac414822615a5c9e9e92f9f (diff)
improve comments
Change-Id: Ib2735c946ca331382e0c178b303c3769c0a35185
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwi/threadhelp/transactionmanager.cxx10
1 files changed, 5 insertions, 5 deletions
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 >() );
}