summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-27 08:46:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-27 08:46:29 +0200
commite827d227c92c338fb75f076b6d3f3a7b52b9f767 (patch)
tree46c8d276af691e19abf8385e7f173c2f069fb753 /shell
parent079eee6fdb3883029cf3bf4ca861ed2a7c06058d (diff)
loplugin:redundantcast (clang-cl)
Change-Id: I37e7e217d89fb51cdfe28ec37be901e20068c309
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
index a7b8c231cbca..8d659582c642 100644
--- 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>(const_cast<const LV_COLUMNW *>(pcol)))
+ (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>(const_cast<const LV_ITEMW *>(pitem)))
+ (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>(const_cast<const LV_ITEMW *>(pitem)))
+ (BOOL)SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem))
#endif