summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.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/viewsh.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/viewsh.hxx')
-rw-r--r--sw/inc/viewsh.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 480876904d59..8e3299dd227c 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -335,7 +335,8 @@ public:
/** Provides access to the document undo/redo interface
*/
- IDocumentUndoRedo* getIDocumentUndoRedoAccess();
+ IDocumentUndoRedo const& GetIDocumentUndoRedo() const;
+ IDocumentUndoRedo & GetIDocumentUndoRedo();
// --> OD 2007-11-14 #i83479#
const IDocumentListItems* getIDocumentListItemsAccess() const;