summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/UndoManager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/UndoManager.hxx')
-rw-r--r--sw/source/core/inc/UndoManager.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/core/inc/UndoManager.hxx b/sw/source/core/inc/UndoManager.hxx
index 82f94531d7e6..7f76cf867e6a 100644
--- a/sw/source/core/inc/UndoManager.hxx
+++ b/sw/source/core/inc/UndoManager.hxx
@@ -25,22 +25,18 @@
#define SW_UNDO_MANAGER_HXX
#include <IDocumentUndoRedo.hxx>
-
#include <memory>
-
-#include <svl/undo.hxx>
-
+#include <svx/sdrundomanager.hxx>
class IDocumentDrawModelAccess;
class IDocumentRedlineAccess;
class IDocumentState;
-
namespace sw {
class UndoManager
: public IDocumentUndoRedo
- , public SfxUndoManager
+ , public SdrUndoManager
{
public:
@@ -111,7 +107,7 @@ private:
bool impl_DoUndoRedo(UndoOrRedo_t const undoOrRedo);
// UGLY: should not be called
- using SfxUndoManager::Repeat;
+ using SdrUndoManager::Repeat;
};
} // namespace sw