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/vcl/fixedhyper.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/vcl/fixedhyper.hxx')
-rw-r--r-- | include/vcl/fixedhyper.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx index 224c4fecab07..1b8fcd554d32 100644 --- a/include/vcl/fixedhyper.hxx +++ b/include/vcl/fixedhyper.hxx @@ -45,19 +45,19 @@ Changes the pointer only over the text. */ - virtual void MouseMove( const MouseEvent& rMEvt ); + virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; /** overwrites Window::MouseButtonUp(). Calls the set link if the mouse is over the text. */ - virtual void MouseButtonUp( const MouseEvent& rMEvt ); + virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; /** overwrites Window::RequestHelp(). Shows tooltip only if the mouse is over the text. */ - virtual void RequestHelp( const HelpEvent& rHEvt ); + virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; public: /** ctors @@ -76,21 +76,21 @@ Changes the color of the text and shows a focus rectangle. */ - virtual void GetFocus(); + virtual void GetFocus() SAL_OVERRIDE; /** overwrites Window::LoseFocus(). Changes the color of the text and hides the focus rectangle. */ - virtual void LoseFocus(); + virtual void LoseFocus() SAL_OVERRIDE; /** overwrites Window::KeyInput(). KEY_RETURN and KEY_SPACE calls the link handler. */ - virtual void KeyInput( const KeyEvent& rKEvt ); + virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; - virtual bool set_property(const OString &rKey, const OString &rValue); + virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; /** sets m_aClickHdl with rLink. @@ -119,7 +119,7 @@ OUString GetURL() const; /** sets new text and recalculates the text length. */ - virtual void SetText(const OUString& rNewDescription); + virtual void SetText(const OUString& rNewDescription) SAL_OVERRIDE; }; #endif |