diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-07-17 13:04:50 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-07-17 13:05:11 +0200 |
commit | c6c2c7014809b0f74c922833220de4ccc723defc (patch) | |
tree | 8391aa08c89e841b372c263fde1abe78879a6eba /svl/source | |
parent | 651ef78f6c02fbfc03e672104f27203ec29fe483 (diff) |
Fix MINGW64 build in svl
Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/config/languageoptions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx index 8d094276e2d4..7184ea19b4e2 100644 --- a/svl/source/config/languageoptions.cxx +++ b/svl/source/config/languageoptions.cxx @@ -208,7 +208,7 @@ bool SvtSystemLanguageOptions::isKeyboardLayoutTypeInstalled(sal_Int16 scriptTyp for(int i = 0; i < nLayouts; ++i) { - LCID lang = MAKELCID(((UINT)lpList[i] & 0xffffffff), SORT_DEFAULT); + LCID lang = MAKELCID(((WORD)(DWORD_PTR)lpList[i] & 0xffff), SORT_DEFAULT); if (MsLangId::getScriptType(lang) == scriptType) { isInstalled = true; |