This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 1e5d8e72b5147bf84598caafc702eb279f3a8b41 Author: Damjan Jovanovic <[email protected]> AuthorDate: Thu Jan 2 22:14:16 2025 +0200 wParam is already a UINT_PTR, an integer type, so no need to cast it. Patch by: me --- main/vcl/win/source/window/salframe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/vcl/win/source/window/salframe.cxx b/main/vcl/win/source/window/salframe.cxx index f89993b898..4c8efb706e 100644 --- a/main/vcl/win/source/window/salframe.cxx +++ b/main/vcl/win/source/window/salframe.cxx @@ -6249,12 +6249,12 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP break; #if WINVER >= 0x0500 case WM_IME_REQUEST: - if ( static_cast<int>( wParam ) == IMR_RECONVERTSTRING ) + if ( wParam == IMR_RECONVERTSTRING ) { nRet = ImplHandleIMEReconvertString( hWnd, lParam ); rDef = FALSE; } - else if( static_cast<int>( wParam ) == IMR_CONFIRMRECONVERTSTRING ) + else if( wParam == IMR_CONFIRMRECONVERTSTRING ) { nRet = ImplHandleIMEConfirmReconvertString( hWnd, lParam ); rDef = FALSE;
