summaryrefslogtreecommitdiff
path: root/include/svl/undo.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-06 16:36:16 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-07 01:09:05 -0500
commitf28ee9e4004ebf51332a998638aea779e07f6450 (patch)
tree625a08a9982320fe9655b24aba29a4aff3821941 /include/svl/undo.hxx
parent1b6e9f9dfc538841a873774428628124cbdc4fd8 (diff)
Pimplize SfxListUndoAction.
Change-Id: Ic82755788df237c455c802a039881a9d056f4df2
Diffstat (limited to 'include/svl/undo.hxx')
-rw-r--r--include/svl/undo.hxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index 5aed21a5e189..d63a69b950f7 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -74,7 +74,8 @@ public:
virtual sal_uInt16 GetId() const;
private:
- SfxUndoAction& operator=( const SfxUndoAction& ); // n.i.!!
+ SfxUndoAction( const SfxUndoAction& ); // disabled
+ SfxUndoAction& operator=( const SfxUndoAction& ); // disabled
};
@@ -146,11 +147,16 @@ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArra
Redo and Undo work element wise on SfxListUndoActions.
*/
{
- public:
+ struct Impl;
+ Impl* mpImpl;
+
+public:
TYPEINFO_OVERRIDE();
- SfxListUndoAction( const OUString &rComment,
- const OUString& rRepeatComment, sal_uInt16 Id, SfxUndoArray *pFather);
+ SfxListUndoAction(
+ const OUString &rComment, const OUString& rRepeatComment, sal_uInt16 nId, SfxUndoArray *pFather );
+ ~SfxListUndoAction();
+
virtual void Undo() SAL_OVERRIDE;
virtual void UndoWithContext( SfxUndoContext& i_context ) SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
@@ -165,13 +171,6 @@ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArra
virtual sal_uInt16 GetId() const SAL_OVERRIDE;
void SetComment(const OUString& rComment);
-
- private:
-
- sal_uInt16 nId;
- OUString aComment;
- OUString aRepeatComment;
-
};