From c6c2c7014809b0f74c922833220de4ccc723defc Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Wed, 17 Jul 2013 13:04:50 +0200 Subject: Fix MINGW64 build in svl Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c --- svl/source/config/languageoptions.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') 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; -- cgit