summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-23 19:05:59 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-26 18:44:48 +0200
commit3ee3e7946c4a772fd13eada4b235479581190dce (patch)
tree70560d5e3f727cb4dd3b5a4b48522c3f92f49bc9 /framework
parentShared documents make no sense for Android and iOS (diff)
downloadcore-3ee3e7946c4a772fd13eada4b235479581190dce.tar.gz
core-3ee3e7946c4a772fd13eada4b235479581190dce.zip
Lock files make no sense on Android or iOS
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 3e274743c231..11ff74d49b54 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2020,6 +2020,9 @@ void AutoRecovery::implts_changeAllDocVisibility(sal_Bool bVisible)
*/
void lc_removeLockFile(AutoRecovery::TDocumentInfo& rInfo)
{
+#if defined(ANDROID) || defined(IOS)
+ (void) rInfo;
+#else
if ( rInfo.Document.is() )
{
try
@@ -2036,6 +2039,7 @@ void lc_removeLockFile(AutoRecovery::TDocumentInfo& rInfo)
{
}
}
+#endif
}