You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2026/08/06 12:49:23 UTC
(openoffice) 05/06: 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.
jimjag pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 6aa83eaaa466b803080d784cb71839f7ed768cd8
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 703fd76bef..ba3c544e1a 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;