summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-15 15:50:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-16 06:09:55 +0000
commit64ea8306b0ceb001132ac9cbc945a12afc01b8cd (patch)
treef77f453a43c8ce388b45b460193d608399ecaa47 /include/svl
parent4f786274be8f9b01b34ad0772bcf718d5259bdc0 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/undo.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index 52a2918afd36..3fdfb8b4babc 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -59,7 +59,6 @@ public:
virtual OUString GetComment() const;
virtual OUString GetRepeatComment(SfxRepeatTarget&) const;
- virtual sal_uInt16 GetId() const;
/// ID of the view shell that created this undo action.
virtual sal_Int32 GetViewShellId() const;
/// Timestamp when this undo item was created.
@@ -151,7 +150,7 @@ public:
/// See SfxUndoAction::GetViewShellId().
sal_Int32 GetViewShellId() const override;
virtual OUString GetRepeatComment(SfxRepeatTarget&) const override;
- virtual sal_uInt16 GetId() const override;
+ virtual sal_uInt16 GetId() const;
void SetComment(const OUString& rComment);
void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
@@ -194,7 +193,6 @@ namespace svl
virtual void AddUndoAction( SfxUndoAction *pAction, bool bTryMerg=false ) = 0;
virtual size_t GetUndoActionCount( bool const i_currentLevel = CurrentLevel ) const = 0;
- virtual sal_uInt16 GetUndoActionId() const = 0;
virtual OUString GetUndoActionComment( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const = 0;
virtual SfxUndoAction* GetUndoAction( size_t nNo=0 ) const = 0;
/// Get info about all undo actions (comment, view shell id, etc.)
@@ -314,7 +312,6 @@ public:
virtual void SetMaxUndoActionCount( size_t nMaxUndoActionCount ) override;
virtual void AddUndoAction( SfxUndoAction *pAction, bool bTryMerg=false ) override;
virtual size_t GetUndoActionCount( bool const i_currentLevel = CurrentLevel ) const override;
- virtual sal_uInt16 GetUndoActionId() const override;
virtual OUString GetUndoActionComment( size_t nNo=0, bool const i_currentLevel = CurrentLevel ) const override;
virtual SfxUndoAction* GetUndoAction( size_t nNo=0 ) const override;
OUString GetUndoActionsInfo() const override;