From 53bf3ea58e0f4f9f4399a44bfc9ddecc71cb54c7 Mon Sep 17 00:00:00 2001 From: Arnold Dumas Date: Sun, 14 Feb 2016 00:59:35 +0100 Subject: tdf#57950: Replace chained O(U)StringBuffer::append() with operator+ Change-Id: Ic76cf0130ebec4cf723b83d82f59ae45bfcb3ea1 Reviewed-on: https://gerrit.libreoffice.org/22350 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppu/source/uno/lbenv.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cppu') 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)) { -- cgit v1.2.3