summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-07 22:19:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-07 22:19:28 +0200
commit641722e9c6eda7f4bfe626ed6227c0906ef6afc6 (patch)
treedd3f023578ae294bd52199355c42112edf3632ca /xmloff
parent9d9e5b40c1a6d91323564e60b25ccf04df86db4b (diff)
loplugin:stringconstant
Change-Id: I972a8423f3751de50c95d83ddcefe449493ccf57
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 35ea3a734b10..1d94ea3711e6 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(