summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-24 01:34:23 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-24 12:26:00 +0300
commit063b32804c58f663e42444f676af1a1e3a1cc2a8 (patch)
tree0b0b8baad19931f2be619e57d884c44d0faf44a2 /framework
parent30881c7663bd24fbad67e12f15216daa0aea24d7 (diff)
Don't use lock files when sandboxed on OS X
We won't be allowed to create such files anyway. Change-Id: Iaba652b9ae3f1d8c7cfeaae493e962d58ad1fb7f
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 653567dd6d94..619fbba2a080 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2013,7 +2013,7 @@ void AutoRecovery::implts_changeAllDocVisibility(sal_Bool bVisible)
*/
void lc_removeLockFile(AutoRecovery::TDocumentInfo& rInfo)
{
-#if !HAVE_FEATURE_MULTIUSER_ENVIRONMENT
+#if !HAVE_FEATURE_MULTIUSER_ENVIRONMENT || HAVE_FEATURE_MACOSX_SANDBOX
(void) rInfo;
#else
if ( rInfo.Document.is() )