Kaydet (Commit) d4b7c6fa authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast (clang-cl)

manual fix in macro code too difficult for current rewriting plugin

Change-Id: I4a2221d0cfb64dc0a0c6619cd9bc776e283da499
Reviewed-on: https://gerrit.libreoffice.org/48316Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 9a188a0a
...@@ -33,17 +33,17 @@ ...@@ -33,17 +33,17 @@
// Unicode-only defines to break dependence on UNICODE define // Unicode-only defines to break dependence on UNICODE define
#if !defined ListView_InsertColumnW #if !defined ListView_InsertColumnW
#define ListView_InsertColumnW(hwnd, iCol, pcol) \ #define ListView_InsertColumnW(hwnd, iCol, pcol) \
(int)SNDMSG((hwnd), LVM_INSERTCOLUMNW, (WPARAM)(int)(iCol), reinterpret_cast<LPARAM>(pcol)) static_cast<int>(SNDMSG((hwnd), LVM_INSERTCOLUMNW, WPARAM(int(iCol)), reinterpret_cast<LPARAM>(pcol)))
#endif #endif
#if !defined ListView_InsertItemW #if !defined ListView_InsertItemW
#define ListView_InsertItemW(hwnd, pitem) \ #define ListView_InsertItemW(hwnd, pitem) \
(int)SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(pitem)) static_cast<int>(SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
#endif #endif
#if !defined ListView_SetItemW #if !defined ListView_SetItemW
#define ListView_SetItemW(hwnd, pitem) \ #define ListView_SetItemW(hwnd, pitem) \
(BOOL)SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)) static_cast<BOOL>(SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
#endif #endif
......
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