From 3909360c32b8e018bab468db7aece015c6d1a2b4 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 15 Nov 2010 22:12:48 +0100 Subject: undoapi: step 2.2 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: base the implementation of XDocumentActions on the document's UndoManager --- chart2/source/model/main/ChartModel.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chart2/source/model/main') diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 10ff9095fc54..6ba450d76f5f 100755 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -557,6 +557,8 @@ void SAL_CALL ChartModel::dispose() throw(uno::RuntimeException) m_pUndoManager.clear(); // that's important, since the UndoManager implementation delegates its ref counting to ourself. + m_xDocumentActions.clear(); + m_aControllers.disposeAndClear( lang::EventObject( static_cast< cppu::OWeakObject * >( this ))); m_xCurrentController.clear(); -- cgit