View | Details | Raw Unified | Return to issue 120828
Collapse All | Expand All

(-)chart2/source/model/main/ChartModel.cxx.o (+3 lines)
Lines 565-570 Link Here
565
    m_pUndoManager.clear();
565
    m_pUndoManager.clear();
566
        // that's important, since the UndoManager implementation delegates its ref counting to ourself.
566
        // that's important, since the UndoManager implementation delegates its ref counting to ourself.
567
567
568
    if( m_xOldModelAgg.is())  // #i120828#, to release cyclic reference to ChartModel object
569
        m_xOldModelAgg->setDelegator( 0 );
570
568
    m_aControllers.disposeAndClear( lang::EventObject( static_cast< cppu::OWeakObject * >( this )));
571
    m_aControllers.disposeAndClear( lang::EventObject( static_cast< cppu::OWeakObject * >( this )));
569
    m_xCurrentController.clear();
572
    m_xCurrentController.clear();
570
573

Return to issue 120828