https://bugs.documentfoundation.org/show_bug.cgi?id=60237
Aron Budea <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #12 from Aron Budea <[email protected]> --- I'm by no means an expert, but after debugging this issue, the following piece of code looks really suspicious: In method SfxMedium::TransactedTransferForFS_Impl, here http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/docfile.cxx#1586 : SFX_ITEMSET_ARG( GetItemSet(), pOverWrite, SfxBoolItem, SID_OVERWRITE, false ); SFX_ITEMSET_ARG( GetItemSet(), pRename, SfxBoolItem, SID_RENAME, false ); bool bRename = pRename && pRename->GetValue(); bool bOverWrite = pOverWrite ? pOverWrite->GetValue() : !bRename; The possibilities: -SID_OVERWRITE is set: that value is used -SID_OVERWRITE is not set: -SID_RENAME is set: the opposite of SID_RENAME is used -SID_RENAME is not set (bRename is false): bOverWrite becomes true <= this is what happens in example 3 I hope that helps. :) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
