summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/docundomanager.hxx
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
commit6644620ee4226f00db9e0cbaf3d5e817646e6f43 (patch)
tree6844f89a41f14c0c55e30c784b8b3906764a4335 /sfx2/source/inc/docundomanager.hxx
parent5ee125ca789e7989a9725c40fe17fd3f8086a951 (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 'sfx2/source/inc/docundomanager.hxx')
-rwxr-xr-xsfx2/source/inc/docundomanager.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx
index 7ca7c1173e69..22ab40328859 100755
--- a/sfx2/source/inc/docundomanager.hxx
+++ b/sfx2/source/inc/docundomanager.hxx
@@ -38,7 +38,10 @@
#include <boost/scoped_ptr.hpp>
#include <boost/noncopyable.hpp>
-class SfxUndoManager;
+namespace svl
+{
+ class IUndoManager;
+}
//......................................................................................................................
namespace sfx2
@@ -108,9 +111,9 @@ namespace sfx2
);
void impl_do_nolck(
- USHORT ( SfxUndoManager::*i_checkMethod )() const,
- BOOL ( SfxUndoManager::*i_doMethod )(),
- UniString ( SfxUndoManager::*i_titleRetriever )( USHORT ) const,
+ USHORT ( ::svl::IUndoManager::*i_checkMethod )() const,
+ BOOL ( ::svl::IUndoManager::*i_doMethod )(),
+ UniString ( ::svl::IUndoManager::*i_titleRetriever )( USHORT ) const,
void ( SAL_CALL ::com::sun::star::document::XUndoManagerListener::*i_notificationMethod )( const ::com::sun::star::document::UndoManagerEvent& )
);