summaryrefslogtreecommitdiff
path: root/include/sfx2/docfile.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-07-05 17:56:38 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2019-07-05 11:51:56 +0200
commit0f9599b687c10f3887c8cc5f419278aa4375889a (patch)
tree3298e0279809f1489778e501a3a6b2250c0e9b9a /include/sfx2/docfile.hxx
parentff7e327e9e537ea129464a1de5a01bf32c1b9fd3 (diff)
Show who has locked the document when reopening a read-only document
Pass the locking data from SfxMedium::LockOrigFileOnDemand, to allow clients to show it themselves when required. Change-Id: I6afe46a1896e1b60771c080efa2f58794dbed8a6 Reviewed-on: https://gerrit.libreoffice.org/75113 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/sfx2/docfile.hxx')
-rw-r--r--include/sfx2/docfile.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 77950a473197..c5fc22c511bb 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -166,7 +166,8 @@ public:
FailedLockFile, // there was only lock file that prevented success - no syslock or IO error
Succeeded,
};
- LockFileResult LockOrigFileOnDemand( bool bLoading, bool bNoUI, bool bTryIgnoreLockFile = false );
+ LockFileResult LockOrigFileOnDemand(bool bLoading, bool bNoUI, bool bTryIgnoreLockFile = false,
+ LockFileEntry* pLockData = nullptr);
void DisableUnlockWebDAV( bool bDisableUnlockWebDAV = true );
void UnlockFile( bool bReleaseLockStream );
/// Lets Transfer_Impl() not fsync the output file.