From 048d27bae87f2a39a0fc853e32b474ab58e92dde Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 15 Apr 2014 11:41:23 +0200 Subject: [PATCH] non-desktop: Don't even attempt to create a lockfile. Change-Id: I68a4cf8f2e302b49e3d2719ee2bad3f823e8a036 --- desktop/source/app/app.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 75c9cf2f958a..518c6949a7d5 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1422,12 +1422,12 @@ int Desktop::Main() SetSplashScreenProgress(25); +#if HAVE_FEATURE_DESKTOP // check user installation directory for lockfile so we can be sure // there is no other instance using our data files from a remote host SAL_INFO( "desktop.app", "desktop (lo119109) Desktop::Main -> Lockfile" ); m_xLockfile.reset(new Lockfile); -#if HAVE_FEATURE_DESKTOP if ( !rCmdLineArgs.IsHeadless() && !rCmdLineArgs.IsInvisible() && !rCmdLineArgs.IsNoLockcheck() && !m_xLockfile->check( Lockfile_execWarning )) {