diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-20 14:54:59 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-20 14:54:59 +0200 |
commit | 6702f4e83f29060a3a6b832920ab6dbdc33b937a (patch) | |
tree | 907608aabca43021dc8f699b31930b18704c4069 /sd/source/ui/view/viewshe3.cxx | |
parent | bb7333e024b5db1bb1338f5c65eefb29323366a7 (diff) |
undoapi: made SfxUndoManager an implementation of the new, abstract ::svl::IUndoManager interface.
Change the SfxShell's UndoManager attribute to be an IUndoManager. Did all the resulting changes
up the source tree.
This way, we'll hopefully be able to provide an IUndoManager implementation in Writer, which
is not based on the SfxUndoManager, but on Writer's own Undo implementation.
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r-- | sd/source/ui/view/viewshe3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx index 7ce0b577ed9e..729ba1575696 100644 --- a/sd/source/ui/view/viewshe3.cxx +++ b/sd/source/ui/view/viewshe3.cxx @@ -150,7 +150,7 @@ void ViewShell::GetMenuState( SfxItemSet &rSet ) // #96090# if(SFX_ITEM_AVAILABLE == rSet.GetItemState(SID_UNDO)) { - SfxUndoManager* pUndoManager = ImpGetUndoManager(); + ::svl::IUndoManager* pUndoManager = ImpGetUndoManager(); sal_Bool bActivate(FALSE); if(pUndoManager) @@ -178,7 +178,7 @@ void ViewShell::GetMenuState( SfxItemSet &rSet ) // #96090# if(SFX_ITEM_AVAILABLE == rSet.GetItemState(SID_REDO)) { - SfxUndoManager* pUndoManager = ImpGetUndoManager(); + ::svl::IUndoManager* pUndoManager = ImpGetUndoManager(); sal_Bool bActivate(FALSE); if(pUndoManager) |