summaryrefslogtreecommitdiff
path: root/include/vcl/spinfld.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /include/vcl/spinfld.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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/spinfld.hxx')
-rw-r--r--include/vcl/spinfld.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx
index 47441800e0d9..2d09032d4e2e 100644
--- a/include/vcl/spinfld.hxx
+++ b/include/vcl/spinfld.hxx
@@ -61,12 +61,12 @@ private:
protected:
explicit SpinField( WindowType nTyp );
- virtual bool Notify( NotifyEvent& rNEvt );
- virtual void Command( const CommandEvent& rCEvt );
+ virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
+ virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
void EndDropDown();
- virtual void FillLayoutData() const;
+ virtual void FillLayoutData() const SAL_OVERRIDE;
Rectangle * ImplFindPartRect( const Point& rPt );
public:
@@ -81,15 +81,15 @@ public:
virtual void First();
virtual void Last();
- virtual void MouseButtonDown( const MouseEvent& rMEvt );
- virtual void MouseButtonUp( const MouseEvent& rMEvt );
- virtual void MouseMove( const MouseEvent& rMEvt );
- virtual void Paint( const Rectangle& rRect );
- virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
- virtual void Resize();
- virtual void StateChanged( StateChangedType nType );
- virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual bool PreNotify( NotifyEvent& rNEvt );
+ virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
+ virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
+ virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
+ virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ) SAL_OVERRIDE;
+ virtual void Resize() SAL_OVERRIDE;
+ virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE;
+ virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
+ virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
void SetUpHdl( const Link& rLink ) { maUpHdlLink = rLink; }
const Link& GetUpHdl() const { return maUpHdlLink; }
@@ -100,10 +100,10 @@ public:
void SetLastHdl( const Link& rLink ) { maLastHdlLink = rLink; }
const Link& GetLastHdl() const { return maLastHdlLink; }
- virtual Size CalcMinimumSize() const;
- virtual Size CalcMinimumSizeForText(const OUString &rString) const;
- virtual Size GetOptimalSize() const;
- virtual Size CalcSize(sal_Int32 nChars) const;
+ virtual Size CalcMinimumSize() const SAL_OVERRIDE;
+ virtual Size CalcMinimumSizeForText(const OUString &rString) const SAL_OVERRIDE;
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
+ virtual Size CalcSize(sal_Int32 nChars) const SAL_OVERRIDE;
};
#endif // INCLUDED_VCL_SPINFLD_HXX