You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pe...@apache.org on 2026/08/14 05:24:53 UTC
(openoffice) 10/31: wParam is already a UINT_PTR, an integer type, so no need to cast it.
This is an automated email from the ASF dual-hosted git repository.
leginee pushed a commit to branch bazel-migration
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit f323107e0fe92e84533ba3a06a432740e7773d18
Author: Damjan Jovanovic <da...@apache.org>
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
(cherry picked from commit 1e5d8e72b5147bf84598caafc702eb279f3a8b41)
---
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;