summaryrefslogtreecommitdiff
path: root/sal/textenc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-04 10:00:51 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-04 11:31:21 +0100
commit607b80ca3cddc239a35580470944a438ce144fc8 (patch)
tree169a9d9644696431bb965cac00977c8b15b66c68 /sal/textenc
parent5726f563550a14f761bba7fbd813dc67ee230caa (diff)
tdf#34171: check foreign lockfiles to tell who has locked document
MS Office (Word/Excel/PowerPoint) lockfiles are supported now. Note that Excel does *not* create lockfiles for pre-OOXML files. This changes osl_openFile implementation on Windows, to treat osl_File_OpenFlag_NoLock to also include FILE_SHARE_DELETE flag for CreateFileW. This is required to allow opening files created with FILE_FLAG_DELETE_ON_CLOSE flag, such as Excel's owner files. The shange should be consistent with the overall meaning of the osl_File_OpenFlag_NoLock to not impose any locking constraints to the file being opened. Change-Id: I7b99012f4bd60ab3821fb91d5166a286031b7e93 Reviewed-on: https://gerrit.libreoffice.org/64496 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal/textenc')
0 files changed, 0 insertions, 0 deletions