From 567ef6d5782cdb729b49005caf6005610ce03e22 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 27 Mar 2014 18:12:18 +0100 Subject: 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 --- include/svx/linectrl.hxx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'include/svx/linectrl.hxx') diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx index 9581386c2de5..114accbba131 100644 --- a/include/svx/linectrl.hxx +++ b/include/svx/linectrl.hxx @@ -51,9 +51,9 @@ public: ~SvxLineStyleToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ); + const SfxPoolItem* pState ) SAL_OVERRIDE; void Update( const SfxPoolItem* pState ); - virtual Window* CreateItemWindow( Window *pParent ); + virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; }; @@ -69,8 +69,8 @@ public: ~SvxLineWidthToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ); - virtual Window* CreateItemWindow( Window *pParent ); + const SfxPoolItem* pState ) SAL_OVERRIDE; + virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; }; @@ -86,9 +86,9 @@ public: ~SvxLineColorToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ); + const SfxPoolItem* pState ) SAL_OVERRIDE; void Update( const SfxPoolItem* pState ); - virtual Window* CreateItemWindow( Window *pParent ); + virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; }; @@ -116,16 +116,16 @@ private: void implInit(); protected: - virtual void Resizing( Size& rSize ); - virtual void Resize(); - virtual bool Close(); - virtual void PopupModeEnd(); + virtual void Resizing( Size& rSize ) SAL_OVERRIDE; + virtual void Resize() SAL_OVERRIDE; + virtual bool Close() SAL_OVERRIDE; + virtual void PopupModeEnd() SAL_OVERRIDE; /** This function is called when the window gets the focus. It grabs the focus to the line ends value set so that it can be controlled with the keyboard. */ - virtual void GetFocus (void); + virtual void GetFocus (void) SAL_OVERRIDE; public: SvxLineEndWindow( sal_uInt16 nId, @@ -140,8 +140,8 @@ public: void StartSelection(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ); - virtual SfxPopupWindow* Clone() const; + const SfxPoolItem* pState ) SAL_OVERRIDE; + virtual SfxPopupWindow* Clone() const SAL_OVERRIDE; }; @@ -156,9 +156,9 @@ public: ~SvxLineEndToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ); - virtual SfxPopupWindowType GetPopupWindowType() const; - virtual SfxPopupWindow* CreatePopupWindow(); + const SfxPoolItem* pState ) SAL_OVERRIDE; + virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; + virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; }; -- cgit