diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /include/editeng/editund2.hxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'include/editeng/editund2.hxx')
-rw-r--r-- | include/editeng/editund2.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/editeng/editund2.hxx b/include/editeng/editund2.hxx index 70849f25b718..52c11ca3acc4 100644 --- a/include/editeng/editund2.hxx +++ b/include/editeng/editund2.hxx @@ -36,8 +36,8 @@ class EDITENG_DLLPUBLIC EditUndoManager : public SfxUndoManager public: EditUndoManager(sal_uInt16 nMaxUndoActionCount = 20); - virtual bool Undo(); - virtual bool Redo(); + virtual bool Undo() SAL_OVERRIDE; + virtual bool Redo() SAL_OVERRIDE; }; @@ -55,12 +55,12 @@ public: EditEngine* GetEditEngine(); - virtual void Undo() = 0; - virtual void Redo() = 0; + virtual void Undo() SAL_OVERRIDE = 0; + virtual void Redo() SAL_OVERRIDE = 0; - virtual bool CanRepeat(SfxRepeatTarget&) const; - virtual OUString GetComment() const; - virtual sal_uInt16 GetId() const; + virtual bool CanRepeat(SfxRepeatTarget&) const SAL_OVERRIDE; + virtual OUString GetComment() const SAL_OVERRIDE; + virtual sal_uInt16 GetId() const SAL_OVERRIDE; }; #endif // INCLUDED_EDITENG_EDITUND2_HXX |