summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binaryurp/source/bridge.cxx6
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() {