[Libreoffice-commits] .: i18npool/source

David Tardon dtardon at kemper.freedesktop.org
Mon Oct 3 00:12:01 PDT 2011


 i18npool/source/isolang/inwnt.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e2fdfea605455577a9ffc27cd6a02e4d84c48976
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Oct 3 09:10:33 2011 +0200

    WaE: suggest braces around empty body in an 'else' statement

diff --git a/i18npool/source/isolang/inwnt.cxx b/i18npool/source/isolang/inwnt.cxx
index db1b252..13c94cb 100644
--- a/i18npool/source/isolang/inwnt.cxx
+++ b/i18npool/source/isolang/inwnt.cxx
@@ -85,7 +85,9 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage,
             rSystemLanguage = nLang;
         }
         else
+        {
             OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
+        }
     }
 }
 


More information about the Libreoffice-commits mailing list