diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-22 15:37:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-24 19:04:55 +0100 |
commit | 1ab34cdb4a8bf255ba6a0eb96b2a30c7be5e451b (patch) | |
tree | eb34ada2ccb688e6b877535062d89fbabc4ceb63 /sc/source/ui/inc/undobase.hxx | |
parent | d806e7937c277cabc06ed40c6ed1d3efd805e15a (diff) |
remove ScMoveUndoMode enum
we only use one value
Change-Id: I7a0f3760615111adcd8b925234f53fafa46a0bd7
Reviewed-on: https://gerrit.libreoffice.org/63942
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/undobase.hxx')
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index fea28529fd7d..903b63ec51f3 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -132,21 +132,17 @@ public: void EndRedo(); }; -enum ScMoveUndoMode { SC_UNDO_REFFIRST, SC_UNDO_REFLAST }; - class ScMoveUndo: public ScSimpleUndo // with references { public: ScMoveUndo( ScDocShell* pDocSh, - ScDocumentUniquePtr pRefDoc, std::unique_ptr<ScRefUndoData> pRefData, - ScMoveUndoMode eRefMode ); + ScDocumentUniquePtr pRefDoc, std::unique_ptr<ScRefUndoData> pRefData ); virtual ~ScMoveUndo() override; protected: std::unique_ptr<SdrUndoAction> pDrawUndo; ScDocumentUniquePtr pRefUndoDoc; std::unique_ptr<ScRefUndoData> pRefUndoData; - ScMoveUndoMode const eMode; void BeginUndo(); void EndUndo(); |