[Libreoffice-commits] core.git: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 1 10:27:31 UTC 2018


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

New commits:
commit 2452c3f008fa8cb4f4a88dace1c7d204f775d3f1
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Sat Dec 1 11:26:03 2018 +0100
Commit:     Michael Stahl <Michael.Stahl at 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)


More information about the Libreoffice-commits mailing list