summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/UndoCommandDispatch.hxx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2011-01-28 11:59:17 +0100
committerVladimir Glazunov <vg@openoffice.org>2011-01-28 11:59:17 +0100
commit81c443356b9c0155d6b44c15126cfc1b9d50bb04 (patch)
treeac66242e68c0785b08565c4576e6a4611e3400db /chart2/source/controller/main/UndoCommandDispatch.hxx
parent475a6d822f4a439dca6c91cc4905a7c526fe46ea (diff)
parent3f3ec2b85f8f5b828cb4af4d045d11c979c71110 (diff)
CWS-TOOLING: integrate CWS undoapi
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.hxx')
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/chart2/source/controller/main/UndoCommandDispatch.hxx b/chart2/source/controller/main/UndoCommandDispatch.hxx
index 28fb813f63de..891ab8b019e5 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.hxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.hxx
@@ -30,15 +30,12 @@
#include "CommandDispatch.hxx"
#include <com/sun/star/frame/XModel.hpp>
-#include <com/sun/star/chart2/XUndoManager.hpp>
+#include <com/sun/star/document/XUndoManager.hpp>
namespace chart
{
/** This is a CommandDispatch implementation for Undo and Redo.
-
- You need to pass an UndoManager to this class that is then used for Undo and
- Redo. The changes are applied to the given XModel.
*/
class UndoCommandDispatch : public CommandDispatch
{
@@ -77,7 +74,7 @@ private:
::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > m_xModel;
::com::sun::star::uno::Reference<
- ::com::sun::star::chart2::XUndoManager > m_xUndoManager;
+ ::com::sun::star::document::XUndoManager > m_xUndoManager;
};
} // namespace chart