diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-01-29 11:44:25 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-01-29 14:43:58 +0100 |
commit | 903627c069756bdb744d0666843dc646fdd7425c (patch) | |
tree | e25b866f4ad2804859ee22e13fd96a2b7ff9e61e | |
parent | f164c68296b66d534ed2c9de6da4c01e328959d9 (diff) |
Function already take const OUString&
Change-Id: I87af48158b4afaf81da8545f9bccf459f11031d6
Reviewed-on: https://gerrit.libreoffice.org/48823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 031e027f9473..72aba80344ec 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -781,12 +781,12 @@ RequestHandler::Status PipeIpcThread::enable(rtl::Reference<IpcThread> * thread) osl::Security security; // Try to create pipe - if ( pipe.create( aPipeIdent.getStr(), osl_Pipe_CREATE, security )) + if ( pipe.create( aPipeIdent, osl_Pipe_CREATE, security )) { // Pipe created nPipeMode = PIPEMODE_CREATED; } - else if( pipe.create( aPipeIdent.getStr(), osl_Pipe_OPEN, security )) // Creation not successful, now we try to connect + else if( pipe.create( aPipeIdent, osl_Pipe_OPEN, security )) // Creation not successful, now we try to connect { osl::StreamPipe aStreamPipe(pipe.getHandle()); if (readStringFromPipe(aStreamPipe) == SEND_ARGUMENTS) |