summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/thread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/thread.cxx b/sal/osl/w32/thread.cxx
index a0f46b7e5229..b9eccf3b8bab 100644
--- a/sal/osl/w32/thread.cxx
+++ b/sal/osl/w32/thread.cxx
@@ -495,7 +495,7 @@ sal_Bool SAL_CALL osl_setThreadKeyData(oslThreadKey Key, void *pData)
{
PTLS pTls = static_cast<PTLS>(Key);
void* pOldData = nullptr;
- BOOL fSuccess;
+ bool fSuccess;
if ( pTls->pfnCallback )
pOldData = TlsGetValue( pTls->dwIndex );
@@ -505,7 +505,7 @@ sal_Bool SAL_CALL osl_setThreadKeyData(oslThreadKey Key, void *pData)
if ( fSuccess && pTls->pfnCallback && pOldData )
pTls->pfnCallback( pOldData );
- return fSuccess != FALSE;
+ return fSuccess;
}
return false;
@@ -517,7 +517,7 @@ rtl_TextEncoding SAL_CALL osl_getThreadTextEncoding(void)
{
DWORD_PTR dwEncoding;
rtl_TextEncoding _encoding;
- BOOL gotACP;
+ bool gotACP;
if ( DWORD(-1) == g_dwTLSTextEncodingIndex )
g_dwTLSTextEncodingIndex = TlsAlloc();