summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:56:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:59 +0200
commitfb2013ccb1a13921eb398fb6e4f2b4d55f0761a2 (patch)
tree0974804606b85479f74213a1a656a7b808db96be /i18npool/source/indexentry
parent01eeb20ffe7266ad630f89ff40720ac0c755d7fa (diff)
loplugin:salunicodeliteral: i18npool
Change-Id: I7307cc96eac5868ed26e8ace1fc3c1a93e1bfec4
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_default.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx
index e88cabf47465..419d84c80c5e 100644
--- a/i18npool/source/indexentry/indexentrysupplier_default.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx
@@ -187,7 +187,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
continue;
switch(curr) {
- case sal_Unicode('-'):
+ case u'-':
if (key_count > 0 && i + 1 < len ) {
for (curr = keyStr[++i]; key_count < MAX_KEYS && keys[key_count-1].key < curr; key_count++) {
keys[key_count].key = keys[key_count-1].key+1;
@@ -196,7 +196,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
} else
throw RuntimeException();
break;
- case sal_Unicode('['):
+ case u'[':
for (i++; i < len && keyStr[i] != ']'; i++) {
if (unicode::isWhiteSpace(keyStr[i])) {
continue;
@@ -209,10 +209,10 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
}
}
break;
- case sal_Unicode('{'):
+ case u'{':
close = '}';
SAL_FALLTHROUGH;
- case sal_Unicode('('):
+ case u'(':
if (key_count > 0) {
sal_Int16 end = i+1;
for (; end < len && keyStr[end] != close; end++) ;