[Libreoffice-commits] core.git: binaryurp/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jan 11 17:35:20 UTC 2019
binaryurp/source/bridge.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit a47b8f223847ce28330244bc0eef2e6b72f7f989
Author: Furkan Ahmet Kara <furkanahmetkara.fk at gmail.com>
AuthorDate: Sun Dec 30 15:13:04 2018 +0200
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Fri Jan 11 18:34:53 2019 +0100
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 at cib.de>
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() {
More information about the Libreoffice-commits
mailing list