summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objmisc.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-23 17:17:20 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-26 18:44:31 +0200
commit83a486546f535b32a565d9215e7584c5572c2fb0 (patch)
tree240d34ae820bd0f7150056f6fdd3da7a94e7a485 /sfx2/source/doc/objmisc.cxx
parent434ba7317007f9d27dea3e8bbc52f69e074c2046 (diff)
Shared documents make no sense for Android and iOS
(When I say documents, I mean spreadsheets. Only Calc has code for this.) Change-Id: I05fd19885633f9e250940678d33e2e4c82c31a9d
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r--sfx2/source/doc/objmisc.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index f150a01bab27..ea8590a76c94 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -495,7 +495,8 @@ void SfxObjectShell::SetModalMode_Impl( sal_Bool bModal )
}
}
-//--------------------------------------------------------------------
+#if !defined(ANDROID) && !defined(IOS)
+
sal_Bool SfxObjectShell::SwitchToShared( sal_Bool bShared, sal_Bool bSave )
{
sal_Bool bResult = sal_True;
@@ -679,6 +680,8 @@ sal_Bool SfxObjectShell::IsDocShared() const
return pImp->m_aSharedFileURL;
}
+#endif
+
//--------------------------------------------------------------------
Size SfxObjectShell::GetFirstPageSize()