https://issues.apache.org/ooo/show_bug.cgi?id=120015

Ma Bingbing <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78364|                            |review?
              Flags|                            |

--- Comment #1 from Ma Bingbing <[email protected]> ---
Created attachment 78364
  --> https://issues.apache.org/ooo/attachment.cgi?id=78364&action=edit
Fix patch for this issue

Root Cause:
When apply one style sheet to one object,the old style sheet will be saved in
the SdrUndoAttrObj,but when the old style is deleted by user,this reference
will not be changed,so the app will crash when undo.

Resolution:
Make the SdrUndoAtrrObj as one listener to the applied style sheet, if this
style sheet is destroyed,we change the referenced style sheet to the default
style sheet.

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

Reply via email to