summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vcl/win/source/window/salframe.cxx5
1 files changed, 2 insertions, 3 deletions
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 )
{