binaryurp/source/bridge.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit a47b8f223847ce28330244bc0eef2e6b72f7f989 Author: Furkan Ahmet Kara <[email protected]> AuthorDate: Sun Dec 30 15:13:04 2018 +0200 Commit: Michael Stahl <[email protected]> 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 <[email protected]> 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() { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
