sc/source/ui/inc/undobase.hxx | 1 - sc/source/ui/inc/undocell.hxx | 2 -- sc/source/ui/undo/undobase.cxx | 4 ---- sc/source/ui/undo/undocell.cxx | 2 -- 4 files changed, 9 deletions(-)
New commits: commit 5f4a49d7bc489b5e0b5ab1cd10f5c0bde7f5fee4 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Dec 22 10:48:12 2017 +0000 can just use default dtors Change-Id: I4f8974876df033f68f7207dfd66526e7af10a6b3 Reviewed-on: https://gerrit.libreoffice.org/46960 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index 9ef3a08171b5..6fa0fbd7a9e2 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -43,7 +43,6 @@ public: typedef std::map<SCTAB, std::unique_ptr<sc::ColumnSpanSet>> DataSpansType; ScSimpleUndo( ScDocShell* pDocSh ); - virtual ~ScSimpleUndo() override; virtual bool Merge( SfxUndoAction *pNextAction ) override; /// See SfxUndoAction::GetViewShellId(). diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx index e1e45e2e1f46..cbdd78a7c4b9 100644 --- a/sc/source/ui/inc/undocell.hxx +++ b/sc/source/ui/inc/undocell.hxx @@ -96,8 +96,6 @@ public: ScDocShell* pNewDocShell, const ScAddress& rPos, ValuesType& rOldValues, const OUString& rNewStr, EditTextObject* pObj ); - virtual ~ScUndoEnterData() 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 e69a2c81397b..6198c87c7c7a 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -49,10 +49,6 @@ ViewShellId ScSimpleUndo::GetViewShellId() const return mnViewShellId; } -ScSimpleUndo::~ScSimpleUndo() -{ -} - bool ScSimpleUndo::SetViewMarkData( const ScMarkData& rMarkData ) { if ( IsPaintLocked() ) diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index c93051a4aa49..13314009be56 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -177,8 +177,6 @@ ScUndoEnterData::ScUndoEnterData( SetChangeTrack(); } -ScUndoEnterData::~ScUndoEnterData() {} - OUString ScUndoEnterData::GetComment() const { return ScGlobal::GetRscString( STR_UNDO_ENTERDATA ); // "Input"
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits