[Libreoffice-commits] core.git: svl/source

Fridrich Å trba fridrich.strba at bluewin.ch
Wed Jul 17 04:08:40 PDT 2013


 svl/source/config/languageoptions.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a18796cc606603f0e066e85d6849c0a67b5f765
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Jul 17 13:08:12 2013 +0200

    Brackets are cheap, so use them
    
    Change-Id: If5b539025020a2e9a35fa6e7bc70bcc6a9a4f4c6

diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index 7184ea1..3cc0523 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(((WORD)(DWORD_PTR)lpList[i] & 0xffff), SORT_DEFAULT);
+                LCID lang = MAKELCID(((WORD)((DWORD_PTR)lpList[i] & 0xffff), SORT_DEFAULT));
                 if (MsLangId::getScriptType(lang) == scriptType)
                 {
                     isInstalled = true;


More information about the Libreoffice-commits mailing list