incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 119941] [From Symphony] Removing chart in odt file, it causes a crash.
Date Wed, 13 Jun 2012 06:56:11 GMT

Clarence GUO <> changed:

           What    |Removed                     |Added
  Attachment #78285|                            |review?
              Flags|                            |

--- Comment #1 from Clarence GUO <> ---
Created attachment 78285
Add patch

Root Cause:
When cut or delete the chart, SwUndoFlyBase::DelFly will call SaveSection to
store the comtent to strorage. In this step, chart filter functions will be
called. And chart filter will call chart core functions to create the chart
again. In the new chart2 base, chart core function will call a new class
ExplicitCategoryProvider to create data source. In this step, when SW data
source provider create the data source, it will create a new SwFlyFrm. But
later in SwUndoFlyBase::DelFly, it will clear anchor related attributes of
SwFlyFrm. Then finally null pointer occur.

In pCnt->RemoveEmbeddedObject in SaveSection process for table chart, only
remove the object from the object container, without removing it's storage and
graphic stream. The chart already removed from formater.

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

View raw message