From 93937c0116c9d0646695663a521e97885870b8de Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 18 May 2004 13:07:02 +0000 Subject: INTEGRATION: CWS swundo01 (1.3.126); FILE MERGED 2003/08/15 14:09:55 hbrinkm 1.3.126.1: #111827# --- sw/source/core/undo/unbkmk.cxx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'sw/source/core/undo/unbkmk.cxx') diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx index 0c73d6432ef0..67bd8f28a2bd 100644 --- a/sw/source/core/undo/unbkmk.cxx +++ b/sw/source/core/undo/unbkmk.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unbkmk.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: vg $ $Date: 2003-04-17 14:37:54 $ + * last change: $Author: kz $ $Date: 2004-05-18 14:07:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,7 +71,7 @@ #include "bookmrk.hxx" #include "rolbck.hxx" - +#include "SwRewriter.hxx" inline SwDoc& SwUndoIter::GetDoc() const { return *pAktPam->GetDoc(); } @@ -110,7 +110,14 @@ void SwUndoBookmark::ResetInDoc( SwDoc* pDoc ) } } +SwRewriter SwUndoBookmark::GetRewriter() const +{ + SwRewriter aResult; + + aResult.AddRule(UNDO_ARG1, pHBookmark->GetName()); + return aResult; +} SwUndoDelBookmark::SwUndoDelBookmark( const SwBookmark& rBkmk ) : SwUndoBookmark( UNDO_DELBOOKMARK, rBkmk ) -- cgit v1.2.3