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
This commit is contained in:
Jens-Heiner Rechtien 2007-11-01 14:26:05 +00:00
parent 2df1d33c0c
commit d77eaa8bf9

View file

@ -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