[Libreoffice-commits] core.git: xmloff/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 7 20:19:55 UTC 2016
xmloff/source/style/xmlnumfi.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 641722e9c6eda7f4bfe626ed6227c0906ef6afc6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 7 22:19:28 2016 +0200
loplugin:stringconstant
Change-Id: I972a8423f3751de50c95d83ddcefe449493ccf57
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 35ea3a7..1d94ea3 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1219,7 +1219,7 @@ void SvXMLNumFmtElementContext::EndElement()
// other second known calendar for a locale.
/* TODO: here only for zh-TW, handle for other locales as well. */
if ( rParent.HasEra() ||
- (sCalendar.equalsIgnoreAsciiCaseAscii("ROC") &&
+ (sCalendar.equalsIgnoreAsciiCase("ROC") &&
rParent.GetLocaleData().getLoadedLanguageTag().getBcp47() == "zh-TW"))
{
rParent.AddNfKeyword(
More information about the Libreoffice-commits
mailing list