From 70cc2b191b95fbc210bc1f0f6a7159f341894f0f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Mar 2014 16:37:00 +0100 Subject: 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 --- svtools/source/table/mousefunction.hxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'svtools/source/table/mousefunction.hxx') diff --git a/svtools/source/table/mousefunction.hxx b/svtools/source/table/mousefunction.hxx index 97e7c1d8ddcd..5db88a5322fc 100644 --- a/svtools/source/table/mousefunction.hxx +++ b/svtools/source/table/mousefunction.hxx @@ -77,8 +77,8 @@ namespace svt { namespace table } public: - virtual oslInterlockedCount SAL_CALL acquire(); - virtual oslInterlockedCount SAL_CALL release(); + virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE; + virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE; private: oslInterlockedCount m_refCount; @@ -97,9 +97,9 @@ namespace svt { namespace table public: // IMouseFunction - virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ); + virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; private: ColPos m_nResizingColumn; @@ -118,9 +118,9 @@ namespace svt { namespace table public: // IMouseFunction - virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ); + virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; private: bool m_bActive; @@ -139,9 +139,9 @@ namespace svt { namespace table public: // IMouseFunction - virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ); - virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ); + virtual FunctionResult handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseDown( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; + virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ) SAL_OVERRIDE; private: ColPos m_nActiveColumn; -- cgit