sfx2/source/doc/docfile.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2452c3f008fa8cb4f4a88dace1c7d204f775d3f1
Author:     Michael Stahl <michael.st...@cib.de>
AuthorDate: Sat Dec 1 11:26:03 2018 +0100
Commit:     Michael Stahl <michael.st...@cib.de>
CommitDate: Sat Dec 1 11:27:02 2018 +0100

    sfx2: fix Android build, check HAVE_FEATURE_MULTIUSER_ENVIRONMENT
    
    Change-Id: I2d78f35898cc514b20500018a7d360e3c78127aa

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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to