summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-02-20 01:32:54 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-02-23 18:01:59 +0100
commitf8c745d1c060312c03fa020e52acd1337b6e81d9 (patch)
tree15c53707734a09482e4dda76053dd849d8720cba /desktop
parent2fa63547313852f0190f1d00099ac5a8de477845 (diff)
fdo#57950: skip verbose OUStringBuffer
Change-Id: I151da82d4a7b3d2f00108bfcea444915d6b8e1da
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/registry/component/dp_component.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index 5a3cce31349f..5502e43f4114 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -1081,12 +1081,7 @@ Reference<XComponentContext> raise_uno_process(
OUString url( util::theMacroExpander::get(xContext)->expandMacros( "$URE_BIN_DIR/uno" ) );
- OUStringBuffer buf;
- buf.appendAscii( "uno:pipe,name=" );
- OUString pipeId( generateRandomPipeId() );
- buf.append( pipeId );
- buf.appendAscii( ";urp;uno.ComponentContext" );
- const OUString connectStr( buf.makeStringAndClear() );
+ const OUString connectStr = "uno:pipe,name=" + generateRandomPipeId() + ";urp;uno.ComponentContext";
// raise core UNO process to register/run a component,
// javavm service uses unorc next to executable to retrieve deployed