summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/current.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/current.cxx')
-rw-r--r--cppu/source/threadpool/current.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx
index 340ef211a485..0b8f5ab70b04 100644
--- a/cppu/source/threadpool/current.cxx
+++ b/cppu/source/threadpool/current.cxx
@@ -98,7 +98,7 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext()
//==================================================================================================
class ThreadKey
{
- sal_Bool _bInit;
+ bool _bInit;
oslThreadKey _hThreadKey;
oslThreadKeyCallbackFunction _pCallback;
@@ -110,7 +110,7 @@ public:
};
//__________________________________________________________________________________________________
inline ThreadKey::ThreadKey( oslThreadKeyCallbackFunction pCallback ) SAL_THROW(())
- : _bInit( sal_False )
+ : _bInit( false )
, _pCallback( pCallback )
{
}
@@ -131,7 +131,7 @@ inline oslThreadKey ThreadKey::getThreadKey() SAL_THROW(())
if (! _bInit)
{
_hThreadKey = ::osl_createThreadKey( _pCallback );
- _bInit = sal_True;
+ _bInit = true;
}
}
return _hThreadKey;
@@ -170,7 +170,7 @@ IdContainer * getIdContainer() SAL_THROW(())
pId = new IdContainer();
pId->pCurrentContext = 0;
pId->pCurrentContextEnv = 0;
- pId->bInit = sal_False;
+ pId->bInit = false;
::osl_setThreadKeyData( aKey, pId );
}
return pId;