diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/undodraw.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/undo/undobase.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/undo/undodraw.cxx | 8 |
4 files changed, 0 insertions, 20 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index 192f47e077a0..95fed6c2d475 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -172,8 +172,6 @@ public: SfxUndoAction* GetWrappedUndo() { return pWrappedUndo; } void ForgetWrappedUndo(); - virtual void SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction) override; - virtual void Undo() override; virtual void Redo() override; virtual void Repeat(SfxRepeatTarget& rTarget) override; diff --git a/sc/source/ui/inc/undodraw.hxx b/sc/source/ui/inc/undodraw.hxx index 103b01514609..1572abd857d0 100644 --- a/sc/source/ui/inc/undodraw.hxx +++ b/sc/source/ui/inc/undodraw.hxx @@ -38,8 +38,6 @@ public: SfxUndoAction* GetDrawUndo() { return pDrawUndo; } void ForgetDrawUndo(); - virtual void SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction) override; - virtual void Undo() override; virtual void Redo() override; virtual void Repeat(SfxRepeatTarget& rTarget) override; diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index 792cde5a05a2..b5a7e694c553 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -598,14 +598,6 @@ sal_uInt16 ScUndoWrapper::GetId() const return 0; } -void ScUndoWrapper::SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction) -{ - if (pWrappedUndo) - pWrappedUndo->SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction); - else - SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction); -} - bool ScUndoWrapper::Merge( SfxUndoAction* pNextAction ) { if (pWrappedUndo) diff --git a/sc/source/ui/undo/undodraw.cxx b/sc/source/ui/undo/undodraw.cxx index 5645afb09406..89359ffbc6b1 100644 --- a/sc/source/ui/undo/undodraw.cxx +++ b/sc/source/ui/undo/undodraw.cxx @@ -62,14 +62,6 @@ sal_uInt16 ScUndoDraw::GetId() const return 0; } -void ScUndoDraw::SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction) -{ - if (pDrawUndo) - pDrawUndo->SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction); - else - SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction); -} - bool ScUndoDraw::Merge( SfxUndoAction* pNextAction ) { if (pDrawUndo) |