summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-08 10:08:21 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:31 +0100
commit79305e38c5f53fb821d4931af87d8c4befeca2f9 (patch)
tree6c1d963f502c2c1a80669a757fe0ed9dbcf9bdcb /vcl/win
parent91b8bae79f3bec139fa51420727445c160116e65 (diff)
WaE: cast to pointer from integer of different size
Diffstat (limited to 'vcl/win')
-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 )
{