summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-07-05 20:13:22 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-07-05 21:03:57 +0200
commit3f009ab4e767000da299fe222184efea29942173 (patch)
tree3aa7fe3a2e8405453ec703bb973ef8cb151c467c
parent310cbbd5866f19d2a82bef35da66f56af90c2d08 (diff)
Fix !HAVE_FEATURE_MULTIUSER_ENVIRONMENT build
The Android-ARM_24-Bytemark-Hosting build currentl< fails with: error: unused parameter ´pLockData´ [-Werror,-Wunused-parameter] Regression from commit 0f9599b687c1 ("Show who has locked the document when reopening a read-only document"). Change-Id: I6d8f900957d79a9c5bf70645e2021995e8a28d43 Reviewed-on: https://gerrit.libreoffice.org/75145 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
-rw-r--r--sfx2/source/doc/docfile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index efb874b67f2a..8570d9921d56 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -1136,6 +1136,7 @@ SfxMedium::LockFileResult SfxMedium::LockOrigFileOnDemand(bool bLoading, bool bN
(void) bLoading;
(void) bNoUI;
(void) bTryIgnoreLockFile;
+ (void) pLockData;
return LockFileResult::Succeeded;
#else
LockFileResult eResult = LockFileResult::Failed;