Kaydet (Commit) 53d7c88d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: VarDecl, use "bool" instead of "sal_Bool"

Change-Id: I0b868edad579f9ccf46f6d9f6015086557e528da
üst 72e7bf85
...@@ -117,7 +117,7 @@ sal_Bool SAL_CALL osl_acquireMutex(oslMutexImpl *pMutex) ...@@ -117,7 +117,7 @@ sal_Bool SAL_CALL osl_acquireMutex(oslMutexImpl *pMutex)
sal_Bool SAL_CALL osl_tryToAcquireMutex(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"); SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex");
...@@ -126,7 +126,7 @@ sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex) ...@@ -126,7 +126,7 @@ sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex)
int nRet = 0; int nRet = 0;
nRet = pthread_mutex_trylock(&(pMutex->mutex)); nRet = pthread_mutex_trylock(&(pMutex->mutex));
if ( nRet == 0 ) if ( nRet == 0 )
result = sal_True; result = true;
} }
SAL_INFO("sal.osl.mutex", "osl_tryToAcquireMutex(" << pMutex << "): " << (result ? "YES" : "NO")); SAL_INFO("sal.osl.mutex", "osl_tryToAcquireMutex(" << pMutex << "): " << (result ? "YES" : "NO"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment