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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Root Cause:
Chart data was disposed while undo the pasting, and the corresponding table
also has already been destructed, so it can not notify its owner chart data
provider to dismiss the chart data sequence, as the code below:
--------------------------------------------------------------------------------
       if (pDataProvider)
        {
            const SwTable* pTable = SwTable::FindTable( GetFrmFmt() );
            if (pTable)
            {
                uno::Reference< chart2::data::XDataSequence > xRef(
dynamic_cast< chart2::data::XDataSequence * >(this), uno::UNO_QUERY );
                pDataProvider->RemoveDataSequence( *pTable, xRef );
            }
--------------------------------------------------------------------------------
After all redo happens, the table will be split again, there is an invalidate
chart data sequence inside, then the DisposedException lead the crash.

Resolution:
While deleting any box from chart data provider, verify whether there are any
invalidate chart data sequence inside, if so, catch the exception and remove
it.

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

Reply via email to