diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /include/dbaccess/dataview.hxx | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'include/dbaccess/dataview.hxx')
-rw-r--r-- | include/dbaccess/dataview.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/dbaccess/dataview.hxx b/include/dbaccess/dataview.hxx index 94cfa9399c0d..448d864aba25 100644 --- a/include/dbaccess/dataview.hxx +++ b/include/dbaccess/dataview.hxx @@ -53,9 +53,9 @@ namespace dbaui // initialize will be called when after the controller finished his initialize method virtual void initialize(){} // window overridables - virtual bool PreNotify( NotifyEvent& rNEvt ); - virtual void StateChanged( StateChangedType nStateChange ); - virtual void DataChanged( const DataChangedEvent& rDCEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; + virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; + virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; inline IController& getCommandController() const { return m_rController; } @@ -66,12 +66,12 @@ namespace dbaui ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getORB() { return m_xContext;} // the default implementation simply calls resizeAll( GetSizePixel() ) - virtual void Resize(); + virtual void Resize() SAL_OVERRIDE; void attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame); protected: // window overridables - virtual void Paint( const Rectangle& _rRect ); + virtual void Paint( const Rectangle& _rRect ) SAL_OVERRIDE; /// re-arrange all controls, including the toolbox, it's separator, and the "real view" virtual void resizeAll( const Rectangle& _rPlayground ); |