summaryrefslogtreecommitdiff
path: root/sd/inc/undo
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2017-06-27 14:35:58 -0400
committerHenry Castro <hcastro@collabora.com>2017-06-28 02:50:00 +0200
commit9f3814af7264ce90685a82cbf4eb015a38f22bf7 (patch)
tree9aeba4af7e08129fd69ab73b8e71d7069c7bec25 /sd/inc/undo
parente0f67add2ec56706ce06a03572535266f21c0303 (diff)
sd lok: fix Undo/Redo Document Repair
REPAIRPACKAGE is sent to enable Undo/Redo actions when two views have conflicts. Change-Id: I58133f5b9006c41a297711c52ed0acfce3c19f92 Reviewed-on: https://gerrit.libreoffice.org/39325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sd/inc/undo')
-rw-r--r--sd/inc/undo/undomanager.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index c053e9b8cabb..b22ea929ad82 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -37,9 +37,6 @@ public:
virtual void EnterListAction(const OUString &rComment, const OUString& rRepeatComment, sal_uInt16 nId, ViewShellId nViewShellId) override;
virtual void AddUndoAction( SfxUndoAction *pAction, bool bTryMerg=false ) override;
- size_t GetUndoActionCount(const bool bCurrentLevel = true) const override;
- size_t GetRedoActionCount(const bool bCurrentLevel = true) const override;
- void SetViewShell(SfxViewShell* pViewShell);
/** Set or reset the undo manager linked with the called undo manager.
*/
@@ -53,8 +50,6 @@ private:
synchronize the undo managers.
*/
::svl::IUndoManager* mpLinkedUndoManager;
- /// Return undo/redo info for this view.
- SfxViewShell* mpViewShell;
/** Call ClearRedo() at the linked undo manager, when present.