summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-16 22:51:49 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-16 23:50:19 -0400
commitc5cf5f700f53f5742bb8f3080083454c9623dadc (patch)
tree52bd8babc49313f60d276a8f21993c5bffaf5b93 /editeng/inc
parente57525b61af70a6ee33c26f979e724740cca8655 (diff)
Have EditUndo also return EditEngine*.
This is the first step toward having the undo classes use EditEngine instead of ImpEditEngine.
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/editund2.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/editeng/inc/editeng/editund2.hxx b/editeng/inc/editeng/editund2.hxx
index 554fb32f2c22..85ad570e5b10 100644
--- a/editeng/inc/editeng/editund2.hxx
+++ b/editeng/inc/editeng/editund2.hxx
@@ -32,6 +32,7 @@
#include "editeng/editengdllapi.h"
#include <svl/undo.hxx>
+class EditEngine;
class ImpEditEngine;
class EDITENG_DLLPRIVATE EditUndoManager : public SfxUndoManager
@@ -55,14 +56,15 @@ class EDITENG_DLLPUBLIC EditUndo : public SfxUndoAction
{
private:
sal_uInt16 nId;
- ImpEditEngine* pImpEE;
+ ImpEditEngine* mpEditEngine;
public:
- TYPEINFO();
- EditUndo( sal_uInt16 nI, ImpEditEngine* pImpEE );
- virtual ~EditUndo();
+ TYPEINFO();
+ EditUndo(sal_uInt16 nI, ImpEditEngine* pEE);
+ virtual ~EditUndo();
- ImpEditEngine* GetImpEditEngine() const { return pImpEE; }
+ EditEngine* GetEditEngine();
+ ImpEditEngine* GetImpEditEngine();
virtual void Undo() = 0;
virtual void Redo() = 0;