summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/current.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-15 17:39:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-17 17:55:18 +0100
commit34a44156b3983849749d82b90d82b84aeb538aae (patch)
tree393815dd01ca56cadb7b8f63f477b553e98c06f6 /cppu/source/threadpool/current.cxx
parent5dd4a0690124c0d3fc1835a59e0fca2d12773afe (diff)
cppu: sal_Bool -> bool
Change-Id: I1288f1f6f38d1475b4eb5272509e479bd9f2552d
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;