diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/shlxthandler/infotips/infotips.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx index 60343e1a4c0b..af03f4a32faa 100644 --- a/shell/source/win32/shlxthandler/infotips/infotips.cxx +++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx @@ -308,7 +308,7 @@ COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoFlags(DWORD * /* HRESULT STDMETHODCALLTYPE CInfoTip::GetClassID(CLSID* pClassID) { - pClassID = const_cast<CLSID*>(&CLSID_INFOTIP_HANDLER); + *pClassID = CLSID_INFOTIP_HANDLER; return S_OK; } diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx index a2ae80dd0daf..ad5cbe03b0e1 100644 --- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx +++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx @@ -470,7 +470,7 @@ HRESULT STDMETHODCALLTYPE CThumbviewer::GetLocation( HRESULT STDMETHODCALLTYPE CThumbviewer::GetClassID(CLSID* pClassID) { - pClassID = const_cast<CLSID*>(&CLSID_THUMBVIEWER_HANDLER); + *pClassID = CLSID_THUMBVIEWER_HANDLER; return S_OK; } |