summaryrefslogtreecommitdiff
path: root/svl/source/config
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-17 13:04:50 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-17 13:05:11 +0200
commitc6c2c7014809b0f74c922833220de4ccc723defc (patch)
tree8391aa08c89e841b372c263fde1abe78879a6eba /svl/source/config
parent651ef78f6c02fbfc03e672104f27203ec29fe483 (diff)
Fix MINGW64 build in svl
Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c
Diffstat (limited to 'svl/source/config')
-rw-r--r--svl/source/config/languageoptions.cxx2
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;