https://issues.apache.org/ooo/show_bug.cgi?id=120015
--- Comment #6 from Armin Le Grand <[email protected]> --- 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.
