summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-22 10:48:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-12-22 20:06:47 +0100
commit5f4a49d7bc489b5e0b5ab1cd10f5c0bde7f5fee4 (patch)
tree2f724551615a488f8f90b03bd633b662ba80b109 /sc
parentde14f0487118d8ea15db54d94c44d7bd28833c82 (diff)
can just use default dtors
Change-Id: I4f8974876df033f68f7207dfd66526e7af10a6b3 Reviewed-on: https://gerrit.libreoffice.org/46960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/undobase.hxx1
-rw-r--r--sc/source/ui/inc/undocell.hxx2
-rw-r--r--sc/source/ui/undo/undobase.cxx4
-rw-r--r--sc/source/ui/undo/undocell.cxx2
4 files changed, 0 insertions, 9 deletions
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"