summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-12 09:42:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-13 08:39:15 +0200
commit2d71dd52b6d91660cda6cb8f9457463439f56e20 (patch)
treef894d34e604eee2db24978c85ba67b9da0a4d573 /sd/inc
parentddef60b9c26b1d2990c6c49dbbda73e7831f21fb (diff)
merge IUndoManager into SfxUndoManager
SfxUndoManager is the only implementation of the IUnderManager "interface", and it lives in the same header. Plus this way we can get rid of some covariant parameters, which will make using std::unique_ptr easier. Change-Id: I6661b9876b18da830bead78794d237886cd3c5c9 Reviewed-on: https://gerrit.libreoffice.org/57317 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/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 d2519a7b0b6d..45fb8fd6a6ac 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -37,7 +37,7 @@ public:
/** Set or reset the undo manager linked with the called undo manager.
*/
- void SetLinkedUndoManager (::svl::IUndoManager* pLinkedUndoManager);
+ void SetLinkedUndoManager (SfxUndoManager* pLinkedUndoManager);
private:
using SdrUndoManager::Undo;
@@ -46,7 +46,7 @@ private:
/** Used when the outline view is visible as a last resort to
synchronize the undo managers.
*/
- ::svl::IUndoManager* mpLinkedUndoManager;
+ SfxUndoManager* mpLinkedUndoManager;
/** Call ClearRedo() at the linked undo manager, when present.