summaryrefslogtreecommitdiff
path: root/i18npool/source/collator
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:03:10 +0200
commit2cef646fc19add099d3da7ef46865390e7ca7b16 (patch)
treeacb1343bfd42b1f79d08e4c02cd1096d70dd30bd /i18npool/source/collator
parent1656b722f066bc4b1137ce0fd084f6004b2063c6 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r--i18npool/source/collator/collator_unicode.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index 95334e8873fa..8a0486fd8e71 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -148,12 +148,12 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
#ifndef DISABLE_DYNLOADING
OUStringBuffer aBuf;
#ifdef SAL_DLLPREFIX
- aBuf.appendAscii(SAL_DLLPREFIX);
+ aBuf.append(SAL_DLLPREFIX);
#endif
- aBuf.appendAscii( "collator_data" ).appendAscii( SAL_DLLEXTENSION );
+ aBuf.append( "collator_data" ).append( SAL_DLLEXTENSION );
hModule = osl_loadModuleRelative( &thisModule, aBuf.makeStringAndClear().pData, SAL_LOADMODULE_DEFAULT );
if (hModule) {
- aBuf.appendAscii("get_").append(rLocale.Language).appendAscii("_");
+ aBuf.append("get_").append(rLocale.Language).append("_");
if ( rLocale.Language == "zh" ) {
OUString func_base = aBuf.makeStringAndClear();
OUString funclen_base = func_base + "_length";
@@ -175,9 +175,9 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
if ( rLocale.Language == "ja" ) {
// replace algorithm name to implementation name.
if (rAlgorithm == "phonetic (alphanumeric first)")
- aBuf.appendAscii("phonetic_alphanumeric_first");
+ aBuf.append("phonetic_alphanumeric_first");
else if (rAlgorithm == "phonetic (alphanumeric last)")
- aBuf.appendAscii("phonetic_alphanumeric_last");
+ aBuf.append("phonetic_alphanumeric_last");
else
aBuf.append(rAlgorithm);
} else {