summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/undobj.hxx25
1 files changed, 23 insertions, 2 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx
index 1e2603a09579..0e82e352e5e8 100644
--- a/sw/inc/undobj.hxx
+++ b/sw/inc/undobj.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: undobj.hxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: vg $ $Date: 2008-01-29 08:36:55 $
+ * last change: $Author: kz $ $Date: 2008-03-05 16:50:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -678,6 +678,27 @@ public:
SwFmt* GetFmt( SwDoc& rDoc ); // prueft, ob es noch im Doc ist!
};
+// --> OD 2008-02-12 #newlistlevelattrs#
+class SwUndoFmtResetAttr : public SwUndo
+{
+ public:
+ SwUndoFmtResetAttr( SwFmt& rChangedFormat,
+ const USHORT nWhichId );
+ ~SwUndoFmtResetAttr();
+
+ virtual void Undo( SwUndoIter& );
+ virtual void Redo( SwUndoIter& );
+
+ private:
+ // format at which a certain attribute is reset.
+ SwFmt* mpChangedFormat;
+ // which ID of the reset attribute
+ USHORT mnWhichId;
+ // old attribute which has been reset - needed for undo.
+ SfxPoolItem* mpOldItem;
+};
+// <--
+
class SwUndoDontExpandFmt : public SwUndo
{
ULONG nNode;