[Libreoffice-commits] core.git: desktop/source
Stephan Bergmann
sbergman at redhat.com
Thu Mar 31 09:55:53 UTC 2016
desktop/source/app/officeipcthread.cxx | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
New commits:
commit 385f6862e303030d24a2c9d3459c074fcf15c279
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Mar 31 11:55:22 2016 +0200
HAVE_FEATURE_MACOSX_SANDBOX doesn't want to launch the PipeReaderThread
Change-Id: I55ca1b91ed3b52e9b2b0f802692cbe45d50826e1
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index efb23a5..63114c6 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -450,7 +450,7 @@ RequestHandler::Status RequestHandler::Enable(bool ipc)
if( pGlobal.is() )
return IPC_STATUS_OK;
-#if !HAVE_FEATURE_DESKTOP
+#if !HAVE_FEATURE_DESKTOP || HAVE_FEATURE_MACOSX_SANDBOX
ipc = false;
#endif
@@ -488,10 +488,6 @@ RequestHandler::Status RequestHandler::Enable(bool ipc)
if ( aUserInstallPathHashCode.isEmpty() )
return IPC_STATUS_BOOTSTRAP_ERROR; // Something completely broken, we cannot create a valid hash code!
-#if HAVE_FEATURE_MACOSX_SANDBOX
- nPipeMode = PIPEMODE_CREATED;
-#else
-
OUString aPipeIdent( "SingleOfficeIPC_" + aUserInstallPathHashCode );
do
@@ -535,7 +531,6 @@ RequestHandler::Status RequestHandler::Enable(bool ipc)
}
} while ( nPipeMode == PIPEMODE_DONTKNOW );
-#endif
if ( nPipeMode == PIPEMODE_CREATED )
{
More information about the Libreoffice-commits
mailing list