https://issues.apache.org/ooo/show_bug.cgi?id=124760
--- Comment #8 from Armin Le Grand <[email protected]> --- Checked the whole object lifetime in the used undo stack, all okay, no error found. Added setting the selection to empty when selecting the new object, that makes it work. To find out the reason for the failure I digged into the selection correction stuff and found that there still is one part where three objctes are hold in the selection, it's the maAllMarkedObjects member of the sdr::ViewSelection. This is used in building the transitive hull of marked objects (see GetTransitiveHullOfMarkedObjects) to be able to handle all cases of ImpBroadcastEdgesOfMarkedNodes. It uses RTTI (here old ptr_cast) and that crashes on the correctly deleted objects. Not sure right now, but this can probably not even happen in aw080 anymore, sigh. Update: Checked that, can indeed not happen, the handling of the connector stuff has completely changed/simplified, there is no sdr::ViewSelection anymore To fix in the current code it is best to do what should have happened from the beginning: Set the correct selection in the operation. Adding that. -- You are receiving this mail because: You are watching all issue changes.
