diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-01-29 11:44:25 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-25 17:38:30 +0200 |
commit | 8847c4efd1338e3a21da455627b2b7ef7d1c265c (patch) | |
tree | fa2a7da7801eae249f8eb1edd9b6ae4dc9579321 /desktop | |
parent | ee2ef8f0a53005b45f342972addcfd2177930af7 (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>
(cherry picked from commit 903627c069756bdb744d0666843dc646fdd7425c)
Diffstat (limited to 'desktop')
-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 c06b081f6f20..a128a073ea0b 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) |