summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-12-01 11:26:03 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-01 11:27:02 +0100
commit2452c3f008fa8cb4f4a88dace1c7d204f775d3f1 (patch)
tree095baf5be089a56d92f296405bce04b07ebc0427 /sfx2
parentb1dd670876cfdd3522de546e6eb4925bcde35a6b (diff)
sfx2: fix Android build, check HAVE_FEATURE_MULTIUSER_ENVIRONMENT
Change-Id: I2d78f35898cc514b20500018a7d360e3c78127aa
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docfile.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index f232cc0d2ba8..4fc08b20e74d 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -173,10 +173,12 @@ bool IsLockingUsed()
#endif
+#if HAVE_FEATURE_MULTIUSER_ENVIRONMENT
bool IsWebDAVLockingUsed()
{
return officecfg::Office::Common::Misc::UseWebDAVFileLocking::get();
}
+#endif
/// Gets default attributes of a file:// URL.
sal_uInt64 GetDefaultFileAttributes(const OUString& rURL)