summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
+ }
}
}