summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/UndoCommandDispatch.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-25 07:46:07 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-25 07:46:07 +0000
commit8b6ba185666b7250329899fd5c3531abcdea965f (patch)
tree1f141caa3bca1815dd6aea3263cb059f2c3314a5 /chart2/source/controller/main/UndoCommandDispatch.hxx
parent4f831d7906e41cd9fb1dc57b58236b4b390056c6 (diff)
INTEGRATION: CWS chart07 (1.2.12); FILE MERGED
2007/06/25 12:52:11 bm 1.2.12.1: #i74653# store undo manager at model to be able to do an undo even after inplace re-activation
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.hxx')
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/chart2/source/controller/main/UndoCommandDispatch.hxx b/chart2/source/controller/main/UndoCommandDispatch.hxx
index 7a77a19c67de..808a7e0a4830 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.hxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: UndoCommandDispatch.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-05-22 18:09:58 $
+ * last change: $Author: rt $ $Date: 2007-07-25 08:46:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,11 +36,9 @@
#define CHART2_UNDOCOMMANDDISPATCH_HXX
#include "CommandDispatch.hxx"
-#include "UndoManager.hxx"
-#ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_
#include <com/sun/star/frame/XModel.hpp>
-#endif
+#include <com/sun/star/chart2/XUndoManager.hpp>
namespace chart
{
@@ -56,7 +54,6 @@ public:
explicit UndoCommandDispatch(
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > & xContext,
- UndoManager * pUndoManager,
const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > & xModel );
virtual ~UndoCommandDispatch();
@@ -85,9 +82,10 @@ protected:
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xSingleListener );
private:
- UndoManager * m_pUndoManager;
::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > m_xModel;
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::chart2::XUndoManager > m_xUndoManager;
};
} // namespace chart