summaryrefslogtreecommitdiff
path: root/cli_ure/source/climaker/climaker_emit.cxx
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2015-03-28 05:18:46 +0000
committerNoel Grandin <noelgrandin@gmail.com>2015-03-30 09:55:37 +0000
commitf863d2602fca7d180f49cc4b6fb1bdba57e6a012 (patch)
tree82cee740e5dd30d5e2d79771571e67804736da06 /cli_ure/source/climaker/climaker_emit.cxx
parent25c5bf88255fa02c1dab515dfb95736826f7b326 (diff)
fdo#57950 Replace chained append() with operator+
Replaced all in cli_ure Change-Id: I144542f386fe26444c290edd9e23b26cb07941a6 Reviewed-on: https://gerrit.libreoffice.org/15040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cli_ure/source/climaker/climaker_emit.cxx')
-rw-r--r--cli_ure/source/climaker/climaker_emit.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx
index 8706c3c91a39..51bed9ab4ac0 100644
--- a/cli_ure/source/climaker/climaker_emit.cxx
+++ b/cli_ure/source/climaker/climaker_emit.cxx
@@ -41,10 +41,7 @@ System::String^ mapUnoPolymorphicName(System::String^ unoName);
static inline ::System::String ^ to_cts_name(
OUString const & uno_name )
{
- OUStringBuffer buf( 7 + uno_name.getLength() );
- buf.append( "unoidl." );
- buf.append( uno_name );
- return ustring_to_String( buf.makeStringAndClear() );
+ return ustring_to_String("unoidl." + uno_name);
}