summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-01-29 11:44:25 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-01-29 14:43:58 +0100
commit903627c069756bdb744d0666843dc646fdd7425c (patch)
treee25b866f4ad2804859ee22e13fd96a2b7ff9e61e /desktop
parentf164c68296b66d534ed2c9de6da4c01e328959d9 (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>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/officeipcthread.cxx4
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)