[Libreoffice-bugs] [Bug 119259] Crash in SfxItemSet::Get(unsigned short, bool) when doing undo/copy/exit
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 17 20:13:10 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119259
--- Comment #8 from Caolán McNamara <caolanm at redhat.com> ---
I think...
in drawdoc3.cxx ::InsertBookmarkAsPage, when the page is pasted,
RenameAndCopyGraphicSheets is called, which calls stlpool.cxx
SdStyleSheetPool::CopySheets where an existing stylesheet is found via the "If
we have already have a sheet with the new name and it is equal to the one in
the source pool, do nothing" and added it to rCreatedSheets.
Later in SdMoveStyleSheetsUndoAction::Undo the style is unconditionally removed
from the pool, even though the original version of the graphic still relies on
it.
Possibly removing such "already there" stylesheets from rCreatedSheets is the
right approach.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180817/62ccb7a8/attachment.html>
More information about the Libreoffice-bugs
mailing list