diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-15 22:12:48 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-15 22:12:48 +0100 |
commit | 3909360c32b8e018bab468db7aece015c6d1a2b4 (patch) | |
tree | 510f0eee22cf9de1df62db9e575c253c4a02ed6f /chart2/source/model/main/ChartModel.cxx | |
parent | 5aa51f86396a4e8709d42c64b11946a9987a7876 (diff) |
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
Diffstat (limited to 'chart2/source/model/main/ChartModel.cxx')
-rwxr-xr-x | chart2/source/model/main/ChartModel.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |