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 /UnoControls/source/inc | |
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 'UnoControls/source/inc')
-rw-r--r-- | UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 14 | ||||
-rw-r--r-- | UnoControls/source/inc/OConnectionPointHelper.hxx | 16 | ||||
-rw-r--r-- | UnoControls/source/inc/framecontrol.hxx | 42 | ||||
-rw-r--r-- | UnoControls/source/inc/progressbar.hxx | 28 | ||||
-rw-r--r-- | UnoControls/source/inc/progressmonitor.hxx | 52 | ||||
-rw-r--r-- | UnoControls/source/inc/statusindicator.hxx | 42 |
6 files changed, 97 insertions, 97 deletions
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index 3952af74f981..2a82e66b808c 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -97,7 +97,7 @@ public: */ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -113,7 +113,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -129,7 +129,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XConnectionPointContainer @@ -149,7 +149,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -166,7 +166,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPoint > SAL_CALL queryConnectionPoint( const ::com::sun::star::uno::Type& aType - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -184,7 +184,7 @@ public: virtual void SAL_CALL advise( const ::com::sun::star::uno::Type& aType , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -202,7 +202,7 @@ public: virtual void SAL_CALL unadvise( const ::com::sun::star::uno::Type& aType , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index b6c7789bfb85..4354f031a213 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -101,7 +101,7 @@ public: */ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -117,7 +117,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -133,7 +133,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XConnectionPoint @@ -153,7 +153,7 @@ public: */ virtual ::com::sun::star::uno::Type SAL_CALL getConnectionType() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -169,7 +169,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPointContainer > SAL_CALL getConnectionPointContainer() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -190,7 +190,7 @@ public: ::com::sun::star::lang::ListenerExistException, ::com::sun::star::lang::InvalidListenerException , ::com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -206,7 +206,7 @@ public: */ virtual void SAL_CALL unadvise( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -222,7 +222,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > SAL_CALL getConnections() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // private methods diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index a244e8b71423..e6b7197c8798 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -81,7 +81,7 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -97,7 +97,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -113,14 +113,14 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XAggregation @@ -128,7 +128,7 @@ public: ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XControl @@ -137,20 +137,20 @@ public: virtual void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent - ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XComponent - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XView @@ -158,31 +158,31 @@ public: virtual sal_Bool SAL_CALL setGraphics( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xDevice - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XConnectionPointContainer virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPoint > SAL_CALL queryConnectionPoint( const ::com::sun::star::uno::Type& aType - ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL advise( const ::com::sun::star::uno::Type& aType , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL unadvise( const ::com::sun::star::uno::Type& aType , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // impl but public methods to register service! @@ -207,24 +207,24 @@ protected: ::com::sun::star::uno::Any& rOldValue , sal_Int32 nHandle , const ::com::sun::star::uno::Any& rValue - ) throw( ::com::sun::star::lang::IllegalArgumentException ); + ) throw( ::com::sun::star::lang::IllegalArgumentException ) SAL_OVERRIDE; virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle , const ::com::sun::star::uno::Any& rValue - ) throw ( ::com::sun::star::uno::Exception, std::exception ); + ) throw ( ::com::sun::star::uno::Exception, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue , - sal_Int32 nHandle ) const ; + sal_Int32 nHandle ) const SAL_OVERRIDE ; - virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); + virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE; // XPropertySet ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // BaseControl @@ -232,7 +232,7 @@ protected: virtual ::com::sun::star::awt::WindowDescriptor* impl_getWindowDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentPeer - ); + ) SAL_OVERRIDE; // private methods diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx index 15698fca9d47..b434a8be6baa 100644 --- a/UnoControls/source/inc/progressbar.hxx +++ b/UnoControls/source/inc/progressbar.hxx @@ -106,7 +106,7 @@ public: */ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -122,7 +122,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -138,7 +138,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XTypeProvider @@ -158,7 +158,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XAggregation @@ -178,7 +178,7 @@ public: */ ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XProgressBar @@ -198,7 +198,7 @@ public: */ virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -214,7 +214,7 @@ public: */ virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -229,7 +229,7 @@ public: @onerror */ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -247,7 +247,7 @@ public: virtual void SAL_CALL setRange( sal_Int32 nMin , sal_Int32 nMax - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -262,7 +262,7 @@ public: @onerror */ - virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XWindow @@ -287,7 +287,7 @@ public: sal_Int32 nWidth , sal_Int32 nHeight , sal_Int16 nFlags - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XControl @@ -308,7 +308,7 @@ public: virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short @@ -324,7 +324,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // BaseControl @@ -383,7 +383,7 @@ protected: sal_Int32 nX , sal_Int32 nY , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics - ); + ) SAL_OVERRIDE; /**_________________________________________________________________________________________________________ @short diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 0e2aede37a57..88c03d486796 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -163,7 +163,7 @@ public: */ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -179,7 +179,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -195,7 +195,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XTypeProvider @@ -214,7 +214,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XAggregation @@ -234,7 +234,7 @@ public: */ virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XProgressMonitor @@ -264,7 +264,7 @@ public: const OUString& sTopic , const OUString& sText , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -282,7 +282,7 @@ public: virtual void SAL_CALL removeText( const OUString& sTopic , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -301,7 +301,7 @@ public: const OUString& sTopic , const OUString& sText , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XProgressBar @@ -320,7 +320,7 @@ public: @onerror - */ - virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -335,7 +335,7 @@ public: @onerror - */ - virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -350,7 +350,7 @@ public: @onerror - */ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -366,7 +366,7 @@ public: */ virtual void SAL_CALL setRange( sal_Int32 nMin , - sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -381,7 +381,7 @@ public: @onerror - */ - virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XButton @@ -402,7 +402,7 @@ public: virtual void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -419,7 +419,7 @@ public: virtual void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -434,7 +434,7 @@ public: @onerror - */ - virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -450,7 +450,7 @@ public: */ virtual void SAL_CALL setActionCommand( const OUString& sCommand ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XLayoutConstrains @@ -469,7 +469,7 @@ public: @onerror - */ - virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -484,7 +484,7 @@ public: @onerror - */ - virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -500,7 +500,7 @@ public: */ virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XControl @@ -522,7 +522,7 @@ public: virtual void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -538,7 +538,7 @@ public: */ virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -554,7 +554,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XComponent @@ -573,7 +573,7 @@ public: @onerror - */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XWindow @@ -596,7 +596,7 @@ public: sal_Int32 nY , sal_Int32 nWidth , sal_Int32 nHeight , - sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // BaseControl @@ -653,7 +653,7 @@ protected: virtual void impl_paint( sal_Int32 nX , sal_Int32 nY , - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics ); + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics ) SAL_OVERRIDE; // private methods diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index df4dfdafc8d6..5558a15aa3be 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -120,7 +120,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short increment refcount @@ -136,7 +136,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw(); + virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -152,7 +152,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw(); + virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XTypeProvider @@ -172,7 +172,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XAggregation @@ -192,7 +192,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XStatusIndicator @@ -214,7 +214,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains virtual void SAL_CALL start( const OUString& sText , sal_Int32 nRange - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /*-**************************************************************************************************** @short - @@ -229,7 +229,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - *//*-*****************************************************************************************************/ - virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /*-**************************************************************************************************** @short - @@ -244,7 +244,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - *//*-*****************************************************************************************************/ - virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /*-**************************************************************************************************** @short - @@ -259,7 +259,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - *//*-*****************************************************************************************************/ - virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /*-**************************************************************************************************** @short - @@ -274,7 +274,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - *//*-*****************************************************************************************************/ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XLayoutConstrains @@ -293,7 +293,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - */ - virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -308,7 +308,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - */ - virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -324,7 +324,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XControl @@ -346,7 +346,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains virtual void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -362,7 +362,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -378,7 +378,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); + throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XComponent @@ -397,7 +397,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror - */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ); + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XWindow @@ -420,7 +420,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains sal_Int32 nY , sal_Int32 nWidth , sal_Int32 nHeight , - sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); + sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // BaseControl @@ -477,7 +477,7 @@ protected: virtual ::com::sun::star::awt::WindowDescriptor* impl_getWindowDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentPeer - ); + ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -496,7 +496,7 @@ protected: sal_Int32 nX, sal_Int32 nY, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > & rGraphics - ); + ) SAL_OVERRIDE; /**_______________________________________________________________________________________________________ @short - @@ -511,7 +511,7 @@ protected: @onerror - */ - virtual void impl_recalcLayout( const ::com::sun::star::awt::WindowEvent& aEvent ); + virtual void impl_recalcLayout( const ::com::sun::star::awt::WindowEvent& aEvent ) SAL_OVERRIDE; // debug methods |