summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:17 +0200
commit82b27577d20025bc8e9b68bfe365a860992be0cb (patch)
tree49dd7ac2190f3f5e8bb7c3c4c4bfb640f8a7d2e4 /i18npool/source/indexentry
parent1a212efd3a3ef0d87abae0299c2da2fc5249492c (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (i18npool)
Change-Id: If4bc7dd5af49cca85f474e817cc3cc358c2b48c2
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_default.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx
index ee0c3f5b6ab2..aae0e7436914 100644
--- a/i18npool/source/indexentry/indexentrysupplier_default.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx
@@ -205,10 +205,10 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
continue;
} else if (keyStr[i] == '_') {
for (curr=keyStr[i-1]+1; curr <= keyStr[i+1]; curr++)
- skipping_chars+=OUString(curr);
+ skipping_chars+=OUStringLiteral1(curr);
i+=2;
} else {
- skipping_chars+=OUString(keyStr[i]);
+ skipping_chars+=OUStringLiteral1(keyStr[i]);
}
}
break;