summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-12-15 09:14:02 +0100
committerMichael Stahl <mst@openoffice.org>2010-12-15 09:14:02 +0100
commit44b1216c8f2a82e296fb6dd909515de06f65dee6 (patch)
tree3b9a3dfd3674d846b20e8b8f02bd7247914c4581 /sw/inc/editsh.hxx
parent4ac0d44c9a9caebc983487c6c14997e0468c0b9a (diff)
undoapi: #i115383#: split up IDocumentUndoRedo::Get{Undo,Redo}Ids():
remove class SwUndoIdAndName and associated pointer abuse. split up IDocumentUndoRedo::Get{Undo,Redo}Ids(): Get{LastUndo,FirstRedo,Repeat}Info() return string and ID for current action. Get{Undo,Redo}Comments() return all Undo/Redo comments. adapt SwEditShell interface as well.
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 8780ea9eb7b7..ca80ee71ef2d 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -73,7 +73,6 @@ class SwFmtRefMark;
class SwNumRule; // Numerierung
//class SwNodeNum; // Numerierung
-class SwUndoIds; // fuer Undo
class SwTxtFmtColl;
class SwGrfNode;
class SwFlyFrmFmt;
@@ -533,13 +532,10 @@ public:
SwUndoId StartUndo( SwUndoId eUndoId = UNDO_EMPTY, const SwRewriter * pRewriter = 0 );
// schliesst Klammerung der nUndoId, nicht vom UI benutzt
SwUndoId EndUndo( SwUndoId eUndoId = UNDO_EMPTY, const SwRewriter * pRewriter = 0 );
- SwUndoId GetUndoIds( String* pUndoStr = 0, SwUndoIds *pUndoIds = 0) const;
- // Redo
- SwUndoId GetRedoIds( String* pRedoStr = 0, SwUndoIds *pRedoIds = 0) const;
-
- // Repeat
- SwUndoId GetRepeatIds( String* pRepeatStr = 0) const;
+ SwUndoId GetLastUndoInfo(::rtl::OUString *const o_pStr) const;
+ SwUndoId GetFirstRedoInfo(::rtl::OUString *const o_pStr) const;
+ SwUndoId GetRepeatInfo(::rtl::OUString *const o_pStr) const;
// 0 letzte Aktion, sonst Aktionen bis zum Start der Klammerung nUndoId
// mit KillPaMs, ClearMark