incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120015] Application crash when undo "Graphic styles" action.
Date Tue, 19 Jun 2012 16:36:54 GMT

--- Comment #6 from Armin Le Grand <> ---
ALG: The patch creates living documents which throw errors on saving.
Investigation shows that in SfxStyleSheetBasePool::Remove the UNO API
implementation is got and the object gets disposed, thus being invalid.
Re-inserting such an object is of course erroneous.
I checked object deletion by watching SfxStyleSheetBase constructors and
destructors, works well just by refcounting. It seems an error to dispose the
object when it gets removed from the StyleSheetPool.
Also a small correction in SdrUndoAttrObj::ensureStyleSheetInStyleSheetPool.
Insert the StyleSheet without parent and set the parent afterwards, this makes
the assertion go away.
Adding a 2nd patch proposal with the mentioned changes.

You are receiving this mail because:
You are the assignee for the bug.

View raw message