summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unbkmk.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-05-18 13:07:02 +0000
committerKurt Zenker <kz@openoffice.org>2004-05-18 13:07:02 +0000
commit93937c0116c9d0646695663a521e97885870b8de (patch)
tree60a140a5cd18f99b7bf6627fadf2c248b9e4f234 /sw/source/core/undo/unbkmk.cxx
parent52aa6fd45f4aaaa49b7e3eacfe0451e6707e1620 (diff)
INTEGRATION: CWS swundo01 (1.3.126); FILE MERGED
2003/08/15 14:09:55 hbrinkm 1.3.126.1: #111827#
Diffstat (limited to 'sw/source/core/undo/unbkmk.cxx')
-rw-r--r--sw/source/core/undo/unbkmk.cxx13
1 files changed, 10 insertions, 3 deletions
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 )