incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120015] Application crash when undo "Graphic styles" action.
Date Mon, 18 Jun 2012 01:58:59 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120015

Ma Bingbing <jiazema@gmail.com> changed:

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

--- Comment #1 from Ma Bingbing <jiazema@gmail.com> ---
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.

Mime
View raw message