summaryrefslogtreecommitdiff
path: root/sw/inc/SwUndoFmt.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 06:55:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 06:55:13 +0000
commitf6f6a9f9fdfeca6884c29a6632148646dff91e45 (patch)
tree38f8d4db2a1f1691836ad23b5dee3a112e6bc6e8 /sw/inc/SwUndoFmt.hxx
parent5dd4baebd3aa37f2aacdc3334f132207f7174c72 (diff)
INTEGRATION: CWS swwarnings (1.4.710); FILE MERGED
2007/04/03 12:57:03 tl 1.4.710.1: #i69287# warning-free code
Diffstat (limited to 'sw/inc/SwUndoFmt.hxx')
-rw-r--r--sw/inc/SwUndoFmt.hxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/sw/inc/SwUndoFmt.hxx b/sw/inc/SwUndoFmt.hxx
index dc4828e0dc1d..578292e20a8e 100644
--- a/sw/inc/SwUndoFmt.hxx
+++ b/sw/inc/SwUndoFmt.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: SwUndoFmt.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 01:30:19 $
+ * last change: $Author: hr $ $Date: 2007-09-27 07:55:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,6 +36,8 @@
#define _SW_UNDO_TXT_FMT_COLL_HXX
#include <undobj.hxx>
+#include <swundo.hxx>
+
class SwDoc;
class SwTxtFmtColl;
class String;
@@ -50,12 +52,12 @@ protected:
SwDoc * pDoc;
mutable String sNewName;
SfxItemSet * pNewSet;
- USHORT nId;
+ USHORT nId; // FmtId related
BOOL bAuto;
public:
- SwUndoFmtCreate(USHORT nUndoId, SwFmt * pNew, SwFmt * pDerivedFrom,
+ SwUndoFmtCreate(SwUndoId nUndoId, SwFmt * pNew, SwFmt * pDerivedFrom,
SwDoc * pDoc);
virtual ~SwUndoFmtCreate();
@@ -76,11 +78,11 @@ protected:
SwDoc * pDoc;
String sOldName;
SfxItemSet aOldSet;
- USHORT nId;
+ USHORT nId; // FmtId related
BOOL bAuto;
public:
- SwUndoFmtDelete(USHORT nUndoId, SwFmt * pOld, SwDoc * pDoc);
+ SwUndoFmtDelete(SwUndoId nUndoId, SwFmt * pOld, SwDoc * pDoc);
~SwUndoFmtDelete();
virtual void Undo(SwUndoIter & rIter);
@@ -98,10 +100,10 @@ class SwUndoRenameFmt : public SwUndo
protected:
String sOldName, sNewName;
SwDoc * pDoc;
- USHORT nId;
+// SwUndoId nId;
public:
- SwUndoRenameFmt(USHORT nUndoId, const String & sOldName,
+ SwUndoRenameFmt(SwUndoId nUndoId, const String & sOldName,
const String & sNewName,
SwDoc * pDoc);
~SwUndoRenameFmt();