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/longcurr.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/longcurr.hxx')
-rw-r--r-- | include/vcl/longcurr.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx index 7a912388e4b8..c307fa071c87 100644 --- a/include/vcl/longcurr.hxx +++ b/include/vcl/longcurr.hxx @@ -51,8 +51,8 @@ protected: public: ~LongCurrencyFormatter(); - virtual void Reformat(); - virtual void ReformatAll(); + virtual void Reformat() SAL_OVERRIDE; + virtual void ReformatAll() SAL_OVERRIDE; void SetUseThousandSep( bool b ); bool IsUseThousandSep() const { return mbThousandSep; } @@ -92,14 +92,14 @@ public: LongCurrencyField( Window* pParent, WinBits nWinStyle ); ~LongCurrencyField(); - virtual bool PreNotify( NotifyEvent& rNEvt ); - virtual bool Notify( NotifyEvent& rNEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; + virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; - void Modify(); - void Up(); - void Down(); - void First(); - void Last(); + void Modify() SAL_OVERRIDE; + void Up() SAL_OVERRIDE; + void Down() SAL_OVERRIDE; + void First() SAL_OVERRIDE; + void Last() SAL_OVERRIDE; void SetFirst( BigInt nNewFirst ) { mnFirst = nNewFirst; } BigInt GetFirst() const { return mnFirst; } @@ -119,11 +119,11 @@ public: LongCurrencyBox( Window* pParent, WinBits nWinStyle ); ~LongCurrencyBox(); - virtual bool PreNotify( NotifyEvent& rNEvt ); - virtual bool Notify( NotifyEvent& rNEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; + virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; - void Modify(); - void ReformatAll(); + void Modify() SAL_OVERRIDE; + void ReformatAll() SAL_OVERRIDE; BigInt GetValue() const { return LongCurrencyFormatter::GetValue(); } |