summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/ChartModel.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-15 22:12:48 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-15 22:12:48 +0100
commit3909360c32b8e018bab468db7aece015c6d1a2b4 (patch)
tree510f0eee22cf9de1df62db9e575c253c4a02ed6f /chart2/source/model/main/ChartModel.cxx
parent5aa51f86396a4e8709d42c64b11946a9987a7876 (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-xchart2/source/model/main/ChartModel.cxx2
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();