summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-10-03 09:10:33 +0200
committerDavid Tardon <dtardon@redhat.com>2011-10-03 09:10:33 +0200
commite2fdfea605455577a9ffc27cd6a02e4d84c48976 (patch)
tree17572806882bf55d199c58506c3bf89c3d64af06 /i18npool
parentb8cab27008e54a643ba692f97384087ff9e65574 (diff)
WaE: suggest braces around empty body in an 'else' statement
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/isolang/inwnt.cxx2
1 files changed, 2 insertions, 0 deletions
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();
+ }
}
}