From cac21141e4e4f976794df35e351b510189d3fc4d Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 27 Sep 2007 08:30:16 +0000
Subject: [PATCH] INTEGRATION: CWS swwarnings (1.7.222); FILE MERGED 2007/04/03
13:00:25 tl 1.7.222.1: #i69287# warning-free code
---
sw/source/core/undo/unbkmk.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx
index 2a2f0f7f3df2..373fef36ea79 100644
--- a/sw/source/core/undo/unbkmk.cxx
+++ b/sw/source/core/undo/unbkmk.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unbkmk.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 21:50:34 $
+ * last change: $Author: hr $ $Date: 2007-09-27 09:30:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -51,10 +51,10 @@
inline SwDoc& SwUndoIter::GetDoc() const { return *pAktPam->GetDoc(); }
-SwUndoBookmark::SwUndoBookmark( USHORT nUndoId, const SwBookmark& rBkmk )
+SwUndoBookmark::SwUndoBookmark( SwUndoId nUndoId, const SwBookmark& rBkmk )
: SwUndo( nUndoId )
{
- int nType = SwHstryBookmark::BKMK_POS;
+ BYTE nType = SwHstryBookmark::BKMK_POS;
if( rBkmk.GetOtherPos() )
nType |= SwHstryBookmark::BKMK_OTHERPOS;
pHBookmark = new SwHstryBookmark( rBkmk, nType );