Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi all 

I work on tdf#106942, the code is here sfx2/source/doc/docfile.cxx:1151

I don't understand why skip all errors with "UseDocumentSystemFileLocking" docfile.cxx:1175, 
anybody got any recollection why that is? 

But when "UseDocumentSystemFileLocking" is false (well currently it's always true) and the error is 
IOErrorCode_INVALID_PARAMETER, a message box - that says something like 'can't lock, b/c lockfile 
cannot be created'

I think this message is never appears, because the error “Invalid Parameters” is implausible, too.

Here's how I'd plan to solve this:: 
When the error with "no access &| no space" came, then using the above message (need only improve 
the second message-line), and set the document to read only, and remove the empty lock-file. 

Anybody got any better ideas?



best 
Juergen

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.