https://bugs.documentfoundation.org/show_bug.cgi?id=60237

--- Comment #14 from LeMoyne Castle <lemoyne.cas...@gmail.com> ---
(In reply to Aron Budea from comment #12)
> I'm by no means an expert, but after debugging this issue, the following
> piece of code looks really suspicious:
> 
...
> bool bRename = pRename && pRename->GetValue();
> bool bOverWrite = pOverWrite ? pOverWrite->GetValue() : !bRename;

Aron, the SID_xxx values are compile time constants that are available.  If the
SID_xxx, RID_xxx tables get messed up LibreOffice will almost certainly crash
at start. 

I think this is working as desired: the Overwrite value will be used if given,
but if it's not LibO will only overwrite a file of the same name.  

I can see how overwriting a file of the same name can cause data loss and if
one is in that situation then adding a time stamp to the file name will avoid
the loss.  

The default is not exactly false, it is false (=no overwrite) except when the
save would overwrite a file of the same name.  This is a core save routine in
Writer and no one would be happy with a word processor that insisted on asking
about overwrites everytime a file was saved again.  So, in my opinion, the
issue is with the documentation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to