incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119941] [From Symphony] Removing chart in odt file, it causes a crash.
Date Wed, 13 Jun 2012 06:56:11 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119941

Clarence GUO <clarence.guo.bj@gmail.com> changed:

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

--- Comment #1 from Clarence GUO <clarence.guo.bj@gmail.com> ---
Created attachment 78285
  --> https://issues.apache.org/ooo/attachment.cgi?id=78285&action=edit
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.

Solution:
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.

Mime
View raw message