summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/inc/unmodpg.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:26:05 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:26:05 +0000
commitd77eaa8bf900ef255bd4d02bf9d0a5dba93848c5 (patch)
tree546fae883c90d8705322a767594140c4500e041b /sd/source/ui/inc/unmodpg.hxx
parentINTEGRATION: CWS impress131_SRC680 (1.15.114); FILE MERGED (diff)
downloadcore-d77eaa8bf900ef255bd4d02bf9d0a5dba93848c5.tar.gz
core-d77eaa8bf900ef255bd4d02bf9d0a5dba93848c5.zip
INTEGRATION: CWS impress131_SRC680 (1.4.190); FILE MERGED
2007/10/17 16:12:03 cl 1.4.190.1: #i75001# added undo for renaming a master page
Diffstat (limited to 'sd/source/ui/inc/unmodpg.hxx')
-rw-r--r--sd/source/ui/inc/unmodpg.hxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx
index e118d46386a9..d2a1df740a24 100644
--- a/sd/source/ui/inc/unmodpg.hxx
+++ b/sd/source/ui/inc/unmodpg.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unmodpg.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kz $ $Date: 2006-12-12 17:51:18 $
+ * last change: $Author: hr $ $Date: 2007-11-01 15:26:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -77,5 +77,23 @@ public:
virtual String GetComment() const;
};
+// --------------------------------------------------------------------
+
+class RenameLayoutTemplateUndoAction : public SdUndoAction
+{
+public:
+ RenameLayoutTemplateUndoAction( SdDrawDocument* pDocument, const String& rOldLayoutName, const String& rNewLayoutName );
+
+ virtual void Undo();
+ virtual void Redo();
+
+ virtual String GetComment() const;
+
+private:
+ String maOldName;
+ String maNewName;
+ const String maComment;
+};
+
#endif // _SD_UNMODPG_HXX