diff options
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/inc/basecontainercontrol.hxx | 32 | ||||
-rw-r--r-- | UnoControls/inc/basecontrol.hxx | 102 | ||||
-rw-r--r-- | UnoControls/inc/multiplexer.hxx | 52 | ||||
-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 | 46 | ||||
-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 |
9 files changed, 192 insertions, 192 deletions
diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx index c09b1b54bc49..c4f2295cc476 100644 --- a/UnoControls/inc/basecontainercontrol.hxx +++ b/UnoControls/inc/basecontainercontrol.hxx @@ -84,7 +84,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XTypeProvider @@ -97,7 +97,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation @@ -106,7 +106,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControl @@ -116,34 +116,34 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XComponent /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XEventListener /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControlContainer @@ -153,41 +153,41 @@ public: virtual void SAL_CALL addControl( const OUString& sName , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xControl - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeControl( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xControl - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL setStatusText( const OUString& sStatusText - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getControl( const OUString& sName - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > > SAL_CALL getControls() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindow /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // protected methods @@ -208,7 +208,7 @@ protected: virtual ::com::sun::star::awt::WindowDescriptor* impl_getWindowDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentPeer - ) SAL_OVERRIDE; + ) override; /**_______________________________________________________________________________________________________ @short @@ -227,7 +227,7 @@ protected: sal_Int32 nX , sal_Int32 nY , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics - ) SAL_OVERRIDE; + ) override; // private methods diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx index 303508597304..4ccf0359514f 100644 --- a/UnoControls/inc/basecontrol.hxx +++ b/UnoControls/inc/basecontrol.hxx @@ -152,7 +152,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -161,7 +161,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -170,7 +170,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XTypeProvider @@ -183,7 +183,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short get implementation id @@ -197,7 +197,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation @@ -206,14 +206,14 @@ public: virtual void SAL_CALL setDelegator( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xDelegator - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XServiceInfo @@ -222,40 +222,40 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual OUString SAL_CALL getImplementationName() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XComponent /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControl @@ -265,60 +265,60 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL setContext( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xContext - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE = 0; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override = 0; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setDesignMode( sal_Bool bOn ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setDesignMode( sal_Bool bOn ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getContext() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE = 0; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override = 0; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > SAL_CALL getPeer() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XView > SAL_CALL getView() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual sal_Bool SAL_CALL isDesignMode() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL isDesignMode() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual sal_Bool SAL_CALL isTransparent() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL isTransparent() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindow @@ -329,111 +329,111 @@ public: sal_Int32 nY , sal_Int32 nWidth , sal_Int32 nHeight , - sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addMouseMotionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL addPaintListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removeMouseMotionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL removePaintListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XView @@ -441,31 +441,31 @@ public: */ virtual void SAL_CALL draw( sal_Int32 nX , - sal_Int32 nY ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + sal_Int32 nY ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL setZoom( float fZoomX , - float fZoomY ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + float fZoomY ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // ::com::sun::star::lang::XEventListener @@ -474,7 +474,7 @@ public: virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rSource - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XPaintListener @@ -483,17 +483,17 @@ public: virtual void SAL_CALL windowPaint( const ::com::sun::star::awt::PaintEvent& rEvent - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindowListener /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // impl but public method to register service diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx index f0217502a026..3c068ecedd41 100644 --- a/UnoControls/inc/multiplexer.hxx +++ b/UnoControls/inc/multiplexer.hxx @@ -109,7 +109,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -118,7 +118,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -127,7 +127,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // operator @@ -176,7 +176,7 @@ public: */ virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& aSource) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XFocusListener @@ -184,13 +184,13 @@ public: */ virtual void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindowListener @@ -198,25 +198,25 @@ public: */ virtual void SAL_CALL windowResized(const ::com::sun::star::awt::WindowEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowMoved(const ::com::sun::star::awt::WindowEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowShown(const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowHidden(const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XKeyListener @@ -224,13 +224,13 @@ public: */ virtual void SAL_CALL keyPressed( const ::com::sun::star::awt::KeyEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL keyReleased( const ::com::sun::star::awt::KeyEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XMouseListener @@ -238,25 +238,25 @@ public: */ virtual void SAL_CALL mousePressed(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL mouseReleased(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL mouseEntered(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL mouseExited(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XMouseMotionListener @@ -264,13 +264,13 @@ public: */ virtual void SAL_CALL mouseDragged(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL mouseMoved(const ::com::sun::star::awt::MouseEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XPaintListener @@ -278,7 +278,7 @@ public: */ virtual void SAL_CALL windowPaint(const ::com::sun::star::awt::PaintEvent& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XTopWindowListener @@ -286,43 +286,43 @@ public: */ virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowClosing( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowClosed( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowMinimized( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowNormalized( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowActivated( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL windowDeactivated( const ::com::sun::star::lang::EventObject& aEvent ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // protected methods diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index ec2154c3c8c3..5ea65d92da6a 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -87,7 +87,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -96,7 +96,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -105,7 +105,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XConnectionPointContainer @@ -123,7 +123,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -140,7 +140,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -158,7 +158,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -176,7 +176,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // public but impl method! // Is necessary to get container member at OConnectionPoint-instance. diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index 638174eeb794..2aead8160699 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -92,7 +92,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -101,7 +101,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -110,7 +110,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XConnectionPoint @@ -128,7 +128,7 @@ public: */ virtual ::com::sun::star::uno::Type SAL_CALL getConnectionType() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -144,7 +144,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPointContainer > SAL_CALL getConnectionPointContainer() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -165,7 +165,7 @@ public: ::com::sun::star::lang::ListenerExistException, ::com::sun::star::lang::InvalidListenerException , ::com::sun::star::uno::RuntimeException, std::exception - ) SAL_OVERRIDE; + ) override; /**_________________________________________________________________________________________________________ @short @@ -181,7 +181,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -197,7 +197,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // private methods diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index 257edecfc55f..7ae1880ee5cc 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -70,7 +70,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -79,7 +79,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -88,70 +88,70 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) override; css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) override; // XControl 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 ) SAL_OVERRIDE; + ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XComponent - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XView 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XConnectionPointContainer virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // impl but public methods to register service! @@ -171,28 +171,28 @@ protected: ::com::sun::star::uno::Any& rOldValue , sal_Int32 nHandle , const ::com::sun::star::uno::Any& rValue - ) throw( ::com::sun::star::lang::IllegalArgumentException ) SAL_OVERRIDE; + ) throw( ::com::sun::star::lang::IllegalArgumentException ) 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 ) SAL_OVERRIDE; + ) throw ( ::com::sun::star::uno::Exception, std::exception ) override; virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue , - sal_Int32 nHandle ) const SAL_OVERRIDE; + sal_Int32 nHandle ) const override; - virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE; + virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; // XPropertySet ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // BaseControl virtual ::com::sun::star::awt::WindowDescriptor* impl_getWindowDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentPeer - ) SAL_OVERRIDE; + ) override; // private methods diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx index 2b1dee2de696..8beee8c6c5df 100644 --- a/UnoControls/source/inc/progressbar.hxx +++ b/UnoControls/source/inc/progressbar.hxx @@ -100,7 +100,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -109,7 +109,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -118,7 +118,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XTypeProvider @@ -136,7 +136,7 @@ public: */ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation @@ -154,7 +154,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XProgressBar @@ -172,7 +172,7 @@ public: */ virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -188,7 +188,7 @@ public: */ virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -203,7 +203,7 @@ public: @onerror */ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -221,7 +221,7 @@ public: virtual void SAL_CALL setRange( sal_Int32 nMin , sal_Int32 nMax - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -236,7 +236,7 @@ public: @onerror */ - virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindow @@ -259,7 +259,7 @@ public: sal_Int32 nWidth , sal_Int32 nHeight , sal_Int16 nFlags - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControl @@ -278,7 +278,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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_________________________________________________________________________________________________________ @short @@ -294,7 +294,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // BaseControl @@ -349,7 +349,7 @@ protected: sal_Int32 nX , sal_Int32 nY , const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics - ) SAL_OVERRIDE; + ) override; /**_________________________________________________________________________________________________________ @short diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 6a5feb201ba8..6f21b7111f67 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -152,7 +152,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -161,7 +161,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -170,7 +170,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XTypeProvider @@ -182,7 +182,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 ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation @@ -190,7 +190,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XProgressMonitor @@ -215,7 +215,7 @@ public: const OUString& sTopic , const OUString& sText , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ @@ -223,7 +223,7 @@ public: virtual void SAL_CALL removeText( const OUString& sTopic , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ @@ -232,35 +232,35 @@ public: const OUString& sTopic , const OUString& sText , sal_Bool bbeforeProgress - ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XProgressBar /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL setRange( sal_Int32 nMin , - sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XButton @@ -269,43 +269,43 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual void SAL_CALL setActionCommand( const OUString& sCommand ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XLayoutConstrains /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControl @@ -315,26 +315,26 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XComponent /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindow @@ -345,7 +345,7 @@ public: sal_Int32 nY , sal_Int32 nWidth , sal_Int32 nHeight , - sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // BaseControl @@ -368,7 +368,7 @@ protected: virtual void impl_paint( sal_Int32 nX , sal_Int32 nY , - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics ) SAL_OVERRIDE; + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics ) override; // private methods diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index 47c17b9a8b8e..5570624fed56 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -109,7 +109,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -118,7 +118,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; + virtual void SAL_CALL acquire() throw() override; /**_______________________________________________________________________________________________________ @short decrement refcount @@ -127,7 +127,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() SAL_OVERRIDE; + virtual void SAL_CALL release() throw() override; // XTypeProvider @@ -140,7 +140,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XAggregation @@ -148,7 +148,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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XStatusIndicator @@ -158,45 +158,45 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /*-**************************************************************************************************** *//*-*****************************************************************************************************/ - virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /*-**************************************************************************************************** *//*-*****************************************************************************************************/ - virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /*-**************************************************************************************************** *//*-*****************************************************************************************************/ - virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /*-**************************************************************************************************** *//*-*****************************************************************************************************/ - virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XLayoutConstrains /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ - virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XControl @@ -206,26 +206,26 @@ 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 ) SAL_OVERRIDE; + ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 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 ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; /**_______________________________________________________________________________________________________ */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel() - throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XComponent /**_______________________________________________________________________________________________________ */ - virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // XWindow @@ -236,7 +236,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_OVERRIDE; + sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; // BaseControl @@ -259,7 +259,7 @@ protected: virtual ::com::sun::star::awt::WindowDescriptor* impl_getWindowDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentPeer - ) SAL_OVERRIDE; + ) override; /**_______________________________________________________________________________________________________ */ @@ -268,12 +268,12 @@ protected: sal_Int32 nX, sal_Int32 nY, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > & rGraphics - ) SAL_OVERRIDE; + ) override; /**_______________________________________________________________________________________________________ */ - virtual void impl_recalcLayout( const ::com::sun::star::awt::WindowEvent& aEvent ) SAL_OVERRIDE; + virtual void impl_recalcLayout( const ::com::sun::star::awt::WindowEvent& aEvent ) override; // debug methods |