From a47b8f223847ce28330244bc0eef2e6b72f7f989 Mon Sep 17 00:00:00 2001 From: Furkan Ahmet Kara Date: Sun, 30 Dec 2018 15:13:04 +0200 Subject: tdf#112689:Replace chained O(U)StringBuffer::append() with operator+ Change-Id: Ieea40ab9cd15260b02222174b9ac389d8c9f387b Reviewed-on: https://gerrit.libreoffice.org/65746 Tested-by: Jenkins Reviewed-by: Michael Stahl --- binaryurp/source/bridge.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 90877f0754c0..8b64e65647d7 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -888,10 +888,8 @@ OUString Bridge::getName() { } OUString Bridge::getDescription() { - OUStringBuffer b(name_); - b.append(':'); - b.append(connection_->getDescription()); - return b.makeStringAndClear(); + OUString b = name_ + ":" + connection_->getDescription(); + return b; } void Bridge::dispose() { -- cgit