diff options
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 8 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/DTransHelper.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index a3e28806deed..b58f8ea89d24 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -62,8 +62,8 @@ namespace /* private */ const sal_uInt32 MAX_WAITTIME = 10000; // msec const sal_uInt32 MAX_WAIT_SHUTDOWN = 10000; // msec - const BOOL MANUAL_RESET = TRUE; - const BOOL INIT_NONSIGNALED = FALSE; + const bool MANUAL_RESET = TRUE; + const bool INIT_NONSIGNALED = FALSE; /* Cannot use osl conditions because they are blocking without waking up on messages sent by another thread @@ -516,8 +516,8 @@ LRESULT CMtaOleClipboard::sendMessage( UINT msg, WPARAM wParam, LPARAM lParam ) bool CMtaOleClipboard::postMessage( UINT msg, WPARAM wParam, LPARAM lParam ) { - BOOL const ret = PostMessageW(m_hwndMtaOleReqWnd, msg, wParam, lParam); - SAL_WARN_IF(0 == ret, "dtrans", "ERROR: PostMessage() failed!"); + bool const ret = PostMessageW(m_hwndMtaOleReqWnd, msg, wParam, lParam); + SAL_WARN_IF(!ret, "dtrans", "ERROR: PostMessage() failed!"); return ret; } diff --git a/dtrans/source/win32/dtobj/DTransHelper.hxx b/dtrans/source/win32/dtobj/DTransHelper.hxx index e003c2a70629..89f8e483d1b7 100644 --- a/dtrans/source/win32/dtobj/DTransHelper.hxx +++ b/dtrans/source/win32/dtobj/DTransHelper.hxx @@ -161,7 +161,7 @@ public: private: HGLOBAL m_hGlob; - BOOL m_bIsLocked; + bool m_bIsLocked; LPVOID m_pGlobMem; }; |