summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata
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/localedata
parent1656b722f066bc4b1137ce0fd084f6004b2063c6 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
Diffstat (limited to 'i18npool/source/localedata')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx2
-rw-r--r--i18npool/source/localedata/localedata.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index 7db424ce70ef..a60588f5f8dd 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -878,7 +878,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const
incErrorInt( "Error: Time100SecSeparator not present in FormatCode formatindex=\"%d\".\n",
formatindex);
OUStringBuffer a100s( pSep->getValue());
- a100s.appendAscii( "00");
+ a100s.append( "00");
n100s = aCode.indexOf( a100s.makeStringAndClear());
if (n100s < 0)
incErrorInt( "Error: Time100SecSeparator+00 not present in FormatCode formatindex=\"%d\".\n",
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 6a6eafdf9fdd..0ea594246392 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -508,7 +508,7 @@ oslGenericFunction SAL_CALL lcl_LookupTableHelper::getFunctionSymbolByName(
// Library not loaded, load it and add it to the list.
#ifdef SAL_DLLPREFIX
aBuf.ensureCapacity(strlen(aLibTable[i].pLib) + 6); // mostly "lib*.so"
- aBuf.appendAscii( SAL_DLLPREFIX ).appendAscii(aLibTable[i].pLib).appendAscii( SAL_DLLEXTENSION );
+ aBuf.append( SAL_DLLPREFIX ).appendAscii(aLibTable[i].pLib).append( SAL_DLLEXTENSION );
#else
aBuf.ensureCapacity(strlen(aLibTable[i].pLib) + 4); // mostly "*.dll"
aBuf.appendAscii(aLibTable[i].pLib).appendAscii( SAL_DLLEXTENSION );