summaryrefslogtreecommitdiffstats
path: root/framework/inc/threadhelp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/threadhelp')
-rw-r--r--framework/inc/threadhelp/gate.hxx18
-rw-r--r--framework/inc/threadhelp/igate.h2
-rw-r--r--framework/inc/threadhelp/itransactionmanager.h2
-rw-r--r--framework/inc/threadhelp/transactionmanager.hxx2
4 files changed, 12 insertions, 12 deletions
diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx
index 08ac20332411..b3cc6cd299e9 100644
--- a/framework/inc/threadhelp/gate.hxx
+++ b/framework/inc/threadhelp/gate.hxx
@@ -55,8 +55,8 @@ class Gate : public IGate
@descr These initialize the object right as an open gate.
*//*-*****************************************************************************************************/
inline Gate()
- : m_bClosed ( sal_False )
- , m_bGapOpen ( sal_False )
+ : m_bClosed ( false )
+ , m_bGapOpen ( false )
{
open();
}
@@ -145,18 +145,18 @@ class Gate : public IGate
@onerror We return false.
*//*-*****************************************************************************************************/
- virtual sal_Bool wait( const TimeValue* pTimeOut = NULL ) SAL_OVERRIDE
+ virtual bool wait( const TimeValue* pTimeOut = NULL ) SAL_OVERRIDE
{
// We must safe access to our internal member!
::osl::ClearableMutexGuard aLock( m_aAccessLock );
// If gate not closed - caller can pass it.
- sal_Bool bSuccessful = sal_True;
- if( m_bClosed == sal_True )
+ bool bSuccessful = true;
+ if( m_bClosed )
{
// Otherwise first new thread must close an open gap!
- if( m_bGapOpen == sal_True )
+ if( m_bGapOpen )
{
- m_bGapOpen = sal_False;
+ m_bGapOpen = false;
m_aPassage.reset();
}
// Then we must release used access lock -
@@ -176,8 +176,8 @@ class Gate : public IGate
::osl::Mutex m_aAccessLock;
::osl::Condition m_aPassage;
- sal_Bool m_bClosed;
- sal_Bool m_bGapOpen;
+ bool m_bClosed;
+ bool m_bGapOpen;
}; // class Gate
diff --git a/framework/inc/threadhelp/igate.h b/framework/inc/threadhelp/igate.h
index 957493c8972a..0eec80743da8 100644
--- a/framework/inc/threadhelp/igate.h
+++ b/framework/inc/threadhelp/igate.h
@@ -44,7 +44,7 @@ class IGate
virtual void open ( ) = 0;
virtual void close ( ) = 0;
virtual void openGap ( ) = 0;
- virtual sal_Bool wait ( const TimeValue* pTimeOut = NULL ) = 0;
+ virtual bool wait ( const TimeValue* pTimeOut = NULL ) = 0;
protected:
~IGate() {}
diff --git a/framework/inc/threadhelp/itransactionmanager.h b/framework/inc/threadhelp/itransactionmanager.h
index 0cbb084ab9eb..6e2b013ef4f4 100644
--- a/framework/inc/threadhelp/itransactionmanager.h
+++ b/framework/inc/threadhelp/itransactionmanager.h
@@ -118,7 +118,7 @@ class ITransactionManager
*//*-*****************************************************************************************************/
virtual EWorkingMode getWorkingMode ( ) const = 0;
virtual void setWorkingMode ( EWorkingMode eMode ) = 0;
- virtual sal_Bool isCallRejected ( ERejectReason& eReason ) const = 0;
+ virtual bool isCallRejected ( ERejectReason& eReason ) const = 0;
virtual void registerTransaction ( EExceptionMode eMode , ERejectReason& eReason ) throw( css::uno::RuntimeException, css::lang::DisposedException ) = 0;
virtual void unregisterTransaction ( ) throw( css::uno::RuntimeException, css::lang::DisposedException ) = 0;
diff --git a/framework/inc/threadhelp/transactionmanager.hxx b/framework/inc/threadhelp/transactionmanager.hxx
index 8b204aff39fc..e003f5e9c891 100644
--- a/framework/inc/threadhelp/transactionmanager.hxx
+++ b/framework/inc/threadhelp/transactionmanager.hxx
@@ -59,7 +59,7 @@ class FWI_DLLPUBLIC TransactionManager : public ITransactionManager
virtual ~TransactionManager ( );
virtual void setWorkingMode ( EWorkingMode eMode ) SAL_OVERRIDE;
virtual EWorkingMode getWorkingMode ( ) const SAL_OVERRIDE;
- virtual sal_Bool isCallRejected ( ERejectReason& eReason ) const SAL_OVERRIDE;
+ virtual bool isCallRejected ( ERejectReason& eReason ) const SAL_OVERRIDE;
virtual void registerTransaction ( EExceptionMode eMode, ERejectReason& eReason ) throw( css::uno::RuntimeException, css::lang::DisposedException ) SAL_OVERRIDE;
virtual void unregisterTransaction ( ) throw( css::uno::RuntimeException, css::lang::DisposedException ) SAL_OVERRIDE;