i18nlangtag/source/languagetag/languagetag.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 01f351830b139f3ab7b63611e8630256d37aaff6 Author: Eike Rathke <er...@redhat.com> Date: Thu Sep 19 19:37:39 2013 +0200 better mutex guard this Change-Id: Ic5cc38c76f6eae11460e0b6e3c55d0e2333a0b09 diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 68e474f..ea5ef66 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -606,6 +606,8 @@ LanguageTag::ImplPtr LanguageTag::registerImpl() const mbInitializedBcp47 = !maBcp47.isEmpty(); } + osl::MutexGuard aGuard( theMutex::get()); + // Prefer LangID map as find+insert needs less comparison work. if (mbInitializedLangID) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits