shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d4b7c6fabb4973e71ac2ce6b456b03d3d54c759a
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Jan 22 13:08:01 2018 +0100

    loplugin:cstylecast (clang-cl)
    
    manual fix in macro code too difficult for current rewriting plugin
    
    Change-Id: I4a2221d0cfb64dc0a0c6619cd9bc776e283da499
    Reviewed-on: https://gerrit.libreoffice.org/48316
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx 
b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
old mode 100644
new mode 100755
index a3143f966ae6..87a8f591f393
--- a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
+++ b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
@@ -33,17 +33,17 @@
 // Unicode-only defines to break dependence on UNICODE define
 #if !defined ListView_InsertColumnW
 #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
 
 #if !defined ListView_InsertItemW
 #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
 
 #if !defined ListView_SetItemW
 #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
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to