From 64ea8306b0ceb001132ac9cbc945a12afc01b8cd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Mar 2017 15:50:43 +0200 Subject: drop GetId() from SfxUndoAction mostly so that the subclasses can use proper enum types for their own IDs. It turns out that nothing at the svl/sfx2 level needs an ID anyhow. Change-Id: I3c020aeafb812fa30d896216d4e3bc1a82cbfeab Reviewed-on: https://gerrit.libreoffice.org/35222 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/undo/undoblk.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sc/source/ui/undo/undoblk.cxx') diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 8ab8095a52da..c9f626c8a4e7 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -1758,11 +1758,6 @@ bool ScUndoSelectionStyle::CanRepeat(SfxRepeatTarget& rTarget) const return dynamic_cast( &rTarget) != nullptr; } -sal_uInt16 ScUndoSelectionStyle::GetId() const -{ - return STR_UNDO_APPLYCELLSTYLE; -} - ScUndoEnterMatrix::ScUndoEnterMatrix( ScDocShell* pNewDocShell, const ScRange& rArea, ScDocument* pNewUndoDoc, const OUString& rForm ) : ScBlockUndo( pNewDocShell, rArea, SC_UNDO_SIMPLE ), -- cgit