diff options
Diffstat (limited to 'include/svl/undo.hxx')
-rw-r--r-- | include/svl/undo.hxx | 21 |
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; - }; |