diff options
author | Arnold Dumas <arnold@dumas.at> | 2016-02-14 00:59:35 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-15 07:38:21 +0000 |
commit | 53bf3ea58e0f4f9f4399a44bfc9ddecc71cb54c7 (patch) | |
tree | 4494dab5e2cdd2b56af5ad851866128315532f5e /cppu/source | |
parent | f48b789e1b985f65be2c15e508202ccf9ec05102 (diff) |
tdf#57950: Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Ic76cf0130ebec4cf723b83d82f59ae45bfcb3ea1
Reviewed-on: https://gerrit.libreoffice.org/22350
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppu/source')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index b9e964dadbf8..c5cdaa55e120 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -1108,10 +1108,7 @@ static uno_Environment * initDefaultEnvironment( else { // late init with some code from matching uno language binding - ::rtl::OUStringBuffer aLibName( 16 ); - aLibName.append( envTypeName ); - aLibName.append( "_uno" ); - OUString aStr( aLibName.makeStringAndClear() ); + OUString aStr( envTypeName + "_uno" ); if (!loadEnv(aStr, pEnv)) { |