[Libreoffice-commits] core.git: desktop/source
Mike Kaganski
mike.kaganski at collabora.com
Mon Jan 29 13:44:19 UTC 2018
desktop/source/app/officeipcthread.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 903627c069756bdb744d0666843dc646fdd7425c
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Mon Jan 29 11:44:25 2018 +0100
Function already take const OUString&
Change-Id: I87af48158b4afaf81da8545f9bccf459f11031d6
Reviewed-on: https://gerrit.libreoffice.org/48823
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
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)
More information about the Libreoffice-commits
mailing list