INTEGRATION: CWS swwarnings (1.7.222); FILE MERGED

2007/04/03 13:00:25 tl 1.7.222.1: #i69287# warning-free code
This commit is contained in:
Jens-Heiner Rechtien
2007-09-27 08:30:16 +00:00
parent e11b35068d
commit cac21141e4

View File

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