summaryrefslogtreecommitdiff
path: root/i18npool/source/breakiterator/xdictionary.cxx
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/breakiterator/xdictionary.cxx
parent1656b722f066bc4b1137ce0fd084f6004b2063c6 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index 322239c8a9fa..73aab77f8c38 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -162,11 +162,11 @@ void xdictionary::initDictionaryData(const sal_Char *pLang)
#ifdef SAL_DLLPREFIX
OUStringBuffer aBuf( sal::static_int_cast<int>(strlen(pLang) + 7 + 6) ); // mostly "lib*.so" (with * == dict_zh)
- aBuf.appendAscii( SAL_DLLPREFIX );
+ aBuf.append( SAL_DLLPREFIX );
#else
OUStringBuffer aBuf( sal::static_int_cast<int>(strlen(pLang) + 7 + 4) ); // mostly "*.dll" (with * == dict_zh)
#endif
- aBuf.appendAscii( "dict_" ).appendAscii( pLang ).appendAscii( SAL_DLLEXTENSION );
+ aBuf.append( "dict_" ).appendAscii( pLang ).append( SAL_DLLEXTENSION );
aEntry.mhModule = osl_loadModuleRelative( &thisModule, aBuf.makeStringAndClear().pData, SAL_LOADMODULE_DEFAULT );
if( aEntry.mhModule ) {
oslGenericFunction func;