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/toolkit/awt/scrollabledialog.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/toolkit/awt/scrollabledialog.hxx')
-rw-r--r-- | include/toolkit/awt/scrollabledialog.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/toolkit/awt/scrollabledialog.hxx b/include/toolkit/awt/scrollabledialog.hxx index f2f2e060f653..86be3cbc7c66 100644 --- a/include/toolkit/awt/scrollabledialog.hxx +++ b/include/toolkit/awt/scrollabledialog.hxx @@ -59,14 +59,14 @@ namespace toolkit public: ScrollableWrapper( Window* pParent, WinBits nStyle = WB_STDDIALOG ); virtual ~ScrollableWrapper(); - virtual void SetScrollWidth( long nWidth ); - virtual long GetScrollWidth() { return maScrollArea.Width(); } - virtual void SetScrollHeight( long nHeight ); - virtual long GetScrollHeight() { return maScrollArea.Height(); } - virtual void SetScrollLeft( long nLeft ); - virtual long GetScrollLeft() { return mnScrollPos.X(); } - virtual void SetScrollTop( long Top ); - virtual long GetScrollTop() { return mnScrollPos.Y() ; } + virtual void SetScrollWidth( long nWidth ) SAL_OVERRIDE; + virtual long GetScrollWidth() SAL_OVERRIDE { return maScrollArea.Width(); } + virtual void SetScrollHeight( long nHeight ) SAL_OVERRIDE; + virtual long GetScrollHeight() SAL_OVERRIDE { return maScrollArea.Height(); } + virtual void SetScrollLeft( long nLeft ) SAL_OVERRIDE; + virtual long GetScrollLeft() SAL_OVERRIDE { return mnScrollPos.X(); } + virtual void SetScrollTop( long Top ) SAL_OVERRIDE; + virtual long GetScrollTop() SAL_OVERRIDE { return mnScrollPos.Y() ; } void setScrollVisibility( ScrollBarVisibility rState ); DECL_LINK( ScrollBarHdl, ScrollBar* ); |