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

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|Autorecovery runs on        |Writer layout modifies
                   |unmodified file             |document model,
                   |                            |Autorecovery runs on
                   |                            |unmodified file

--- Comment #14 from Michael Stahl <[email protected]> ---

the problem is caused by this call in SwDrawContact::Changed_()

      GetFmt()->GetDoc()->SetFlyFrmAttr( *(GetFmt()), aSet );

this is called during layout and changes the document model,
setting the modified status in the document.

it also creates the "Changed style" undo entries.

the AutoRecovery save happens because the document was set to modified.

this code is there since 2004, f830588605badb9c1b2e43567f4de558db7a601c
so it's not obvious why this bug would be a regression.

i'm very surprised that the layout does something like this, very odd...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to