diff options
author | Furkan Ahmet Kara <furkanahmetkara.fk@gmail.com> | 2018-12-30 15:13:04 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-01-11 18:34:53 +0100 |
commit | a47b8f223847ce28330244bc0eef2e6b72f7f989 (patch) | |
tree | 2fb5db9ef565c269f15f16a30cae03ca3873a9a1 | |
parent | 25f2fd3aa45dc47356b7074151e8e5b6ae750e92 (diff) |
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 <Michael.Stahl@cib.de>
-rw-r--r-- | binaryurp/source/bridge.cxx | 6 |
1 files 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() { |