summaryrefslogtreecommitdiffstats
path: root/sd/inc
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-20 14:54:59 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-20 14:54:59 +0200
commit6702f4e83f29060a3a6b832920ab6dbdc33b937a (patch)
tree907608aabca43021dc8f699b31930b18704c4069 /sd/inc
parentundoapi: removed unused file (diff)
downloadcore-6702f4e83f29060a3a6b832920ab6dbdc33b937a.tar.gz
core-6702f4e83f29060a3a6b832920ab6dbdc33b937a.zip
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/inc')
-rwxr-xr-xsd/inc/undo/undomanager.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index 8aa5ddb97eae..c1cb440f9a70 100755
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -52,7 +52,7 @@ public:
/** Set or reset the undo manager linked with the called undo manager.
*/
- void SetLinkedUndoManager (SfxUndoManager* pLinkedUndoManager);
+ void SetLinkedUndoManager (::svl::IUndoManager* pLinkedUndoManager);
private:
using SfxUndoManager::Undo;
@@ -64,7 +64,7 @@ private:
/** Used when the outline view is visible as a last resort to
synchronize the undo managers.
*/
- SfxUndoManager* mpLinkedUndoManager;
+ ::svl::IUndoManager* mpLinkedUndoManager;
/** Call ClearRedo() at the linked undo manager, when present.