From 79305e38c5f53fb821d4931af87d8c4befeca2f9 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 8 Mar 2012 10:08:21 +0100 Subject: WaE: cast to pointer from integer of different size --- vcl/win/source/window/salframe.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vcl') diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 985b3d484a9b..1b331180eced 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -3482,10 +3482,9 @@ LanguageType WinSalFrame::GetInputLanguage() sal_Bool WinSalFrame::MapUnicodeToKeyCode( sal_Unicode aUnicode, LanguageType aLangType, KeyCode& rKeyCode ) { sal_Bool bRet = FALSE; - HKL hkl = 0; - + sal_IntPtr nLangType = aLangType; // just use the passed language identifier, do not try to load additional keyboard support - hkl = (HKL) aLangType; + HKL hkl = (HKL) nLangType; if( hkl ) { -- cgit