i18nlangtag/source/languagetag/languagetag.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 57f394688449e8feacb480440900cc50e1d58280 Author: Eike Rathke <er...@redhat.com> Date: Sat Oct 12 00:48:05 2013 +0200 don't sync vars twice Change-Id: I2052aa0ac750f6e1c004f886bf29f9b96cf11bb6 diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 40ade94..02225a4 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -1216,8 +1216,10 @@ void LanguageTag::syncFromImpl() void LanguageTag::syncVarsFromImpl() const { - getImpl(); - syncVarsFromRawImpl(); + if (!mpImpl) + getImpl(); // with side effect syncVarsFromRawImpl() + else + syncVarsFromRawImpl(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits