summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-09 23:49:26 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-09 23:49:26 +0300
commit53d7c88da82f6d16c0c9a45a86a3f9d505764605 (patch)
tree7222ca68f65121134fd0ff8baf84d33a3e9627fc /sal
parent72e7bf859df4941e7c86b57d12a4a2254b202ac1 (diff)
WaE: VarDecl, use "bool" instead of "sal_Bool"
Change-Id: I0b868edad579f9ccf46f6d9f6015086557e528da
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/mutex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/mutex.cxx b/sal/osl/unx/mutex.cxx
index 4bc726d2cc10..7c8b365a2a2b 100644
--- a/sal/osl/unx/mutex.cxx
+++ b/sal/osl/unx/mutex.cxx
@@ -117,7 +117,7 @@ sal_Bool SAL_CALL osl_acquireMutex(oslMutexImpl *pMutex)
sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex)
{
- sal_Bool result = sal_False;
+ bool result = false;
SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex");
@@ -126,7 +126,7 @@ sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex)
int nRet = 0;
nRet = pthread_mutex_trylock(&(pMutex->mutex));
if ( nRet == 0 )
- result = sal_True;
+ result = true;
}
SAL_INFO("sal.osl.mutex", "osl_tryToAcquireMutex(" << pMutex << "): " << (result ? "YES" : "NO"));