incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 119912] [From Symphony]Crash when redo split the pasted table
Date Fri, 08 Jun 2012 06:46:13 GMT changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from ---
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.

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

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

View raw message