From e2fdfea605455577a9ffc27cd6a02e4d84c48976 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 3 Oct 2011 09:10:33 +0200 Subject: WaE: suggest braces around empty body in an 'else' statement --- i18npool/source/isolang/inwnt.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i18npool/source/isolang') diff --git a/i18npool/source/isolang/inwnt.cxx b/i18npool/source/isolang/inwnt.cxx index db1b25218844..13c94cbe3998 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(); + } } } -- cgit