summaryrefslogtreecommitdiff
path: root/include/svx/sdrundomanager.hxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2017-06-17 13:52:15 -0400
committerHenry Castro <hcastro@collabora.com>2017-12-07 19:14:18 +0100
commit6fd6e3c1d36d67002967f56e47255e360f4b08c1 (patch)
tree3d733efd3b054513590b211e209972f5328fd292 /include/svx/sdrundomanager.hxx
parented50a0a2ce51584fa3a8fba0094220a4bf25c650 (diff)
lokit: add .uno:DocumentRepair command
Change-Id: I5b13ea6f4785bc91c29111fa63c4a1b0ea9b2660 Reviewed-on: https://gerrit.libreoffice.org/38908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'include/svx/sdrundomanager.hxx')
-rw-r--r--include/svx/sdrundomanager.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svx/sdrundomanager.hxx b/include/svx/sdrundomanager.hxx
index a42e57e60b36..df9ac0845827 100644
--- a/include/svx/sdrundomanager.hxx
+++ b/include/svx/sdrundomanager.hxx
@@ -24,6 +24,8 @@
#include <editeng/editund2.hxx>
#include <tools/link.hxx>
+class SfxObjectShell;
+
class SVX_DLLPUBLIC SdrUndoManager : public EditUndoManager
{
private:
@@ -35,8 +37,10 @@ private:
bool mbEndTextEditTriggeredFromUndo;
protected:
+ SfxObjectShell* m_pDocSh;
// call to check for TextEdit active
bool isTextEditActive() const;
+ virtual void EmptyActionsChanged() override;
public:
SdrUndoManager();
@@ -59,6 +63,7 @@ public:
// is needed to detect inside end text edit if it is a regular one or triggered
// by a last undo during text edit
bool isEndTextEditTriggeredFromUndo() { return mbEndTextEditTriggeredFromUndo; }
+ void SetDocShell(SfxObjectShell* pDocShell);
};
#endif // INCLUDED_SVX_SDRUNDOMANAGER_HXX