summaryrefslogtreecommitdiff
path: root/UnoControls/inc/basecontrol.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/inc/basecontrol.hxx')
-rw-r--r--UnoControls/inc/basecontrol.hxx108
1 files changed, 49 insertions, 59 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 8e8b93784b7f..6967a3ff1085 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -139,7 +139,7 @@ public:
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type& aType
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -169,8 +169,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
/**_______________________________________________________________________________________________________
@short get implementation id
@@ -183,75 +182,68 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
// XAggregation
virtual void SAL_CALL setDelegator(
const css::uno::Reference< css::uno::XInterface >& xDelegator
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual css::uno::Any SAL_CALL queryAggregation(
const css::uno::Type& aType
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
// XServiceInfo
virtual sal_Bool SAL_CALL supportsService(
const OUString& sServiceName
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
- virtual OUString SAL_CALL getImplementationName()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XComponent
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL dispose() override;
virtual void SAL_CALL addEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
// XControl
virtual void SAL_CALL createPeer(
const css::uno::Reference< css::awt::XToolkit >& xToolkit,
const css::uno::Reference< css::awt::XWindowPeer >& xParent
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL setContext(
const css::uno::Reference< css::uno::XInterface >& xContext
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual sal_Bool SAL_CALL setModel(
const css::uno::Reference< css::awt::XControlModel >& xModel
- ) throw( css::uno::RuntimeException, std::exception ) override = 0;
+ ) override = 0;
- virtual void SAL_CALL setDesignMode( sal_Bool bOn ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setDesignMode( sal_Bool bOn ) override;
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getContext()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getContext() override;
- virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel()
- throw( css::uno::RuntimeException, std::exception ) override = 0;
+ virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel() override = 0;
- virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer() override;
- virtual css::uno::Reference< css::awt::XView > SAL_CALL getView()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::awt::XView > SAL_CALL getView() override;
- virtual sal_Bool SAL_CALL isDesignMode() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isDesignMode() override;
- virtual sal_Bool SAL_CALL isTransparent() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isTransparent() override;
// XWindow
@@ -259,99 +251,97 @@ public:
sal_Int32 nY ,
sal_Int32 nWidth ,
sal_Int32 nHeight ,
- sal_Int16 nFlags ) throw( css::uno::RuntimeException, std::exception ) override;
+ sal_Int16 nFlags ) override;
- virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setVisible( sal_Bool bVisible ) override;
- virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setEnable( sal_Bool bEnable ) override;
- virtual void SAL_CALL setFocus() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setFocus() override;
- virtual css::awt::Rectangle SAL_CALL getPosSize() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Rectangle SAL_CALL getPosSize() override;
virtual void SAL_CALL addWindowListener(
const css::uno::Reference< css::awt::XWindowListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL addFocusListener(
const css::uno::Reference< css::awt::XFocusListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL addKeyListener(
- const css::uno::Reference< css::awt::XKeyListener >& xListener )
- throw( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::awt::XKeyListener >& xListener ) override;
virtual void SAL_CALL addMouseListener(
const css::uno::Reference< css::awt::XMouseListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL addMouseMotionListener(
const css::uno::Reference< css::awt::XMouseMotionListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL addPaintListener(
const css::uno::Reference< css::awt::XPaintListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeWindowListener(
const css::uno::Reference< css::awt::XWindowListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeFocusListener(
const css::uno::Reference< css::awt::XFocusListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeKeyListener(
const css::uno::Reference< css::awt::XKeyListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeMouseListener(
const css::uno::Reference< css::awt::XMouseListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removeMouseMotionListener(
const css::uno::Reference< css::awt::XMouseMotionListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL removePaintListener(
const css::uno::Reference< css::awt::XPaintListener >& xListener
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
// XView
virtual void SAL_CALL draw( sal_Int32 nX ,
- sal_Int32 nY ) throw( css::uno::RuntimeException, std::exception ) override;
+ sal_Int32 nY ) override;
virtual sal_Bool SAL_CALL setGraphics(
const css::uno::Reference< css::awt::XGraphics >& xDevice
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
virtual void SAL_CALL setZoom( float fZoomX ,
- float fZoomY ) throw( css::uno::RuntimeException, std::exception ) override;
+ float fZoomY ) override;
- virtual css::uno::Reference< css::awt::XGraphics > SAL_CALL getGraphics()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::awt::XGraphics > SAL_CALL getGraphics() override;
- virtual css::awt::Size SAL_CALL getSize() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Size SAL_CALL getSize() override;
// css::lang::XEventListener
virtual void SAL_CALL disposing(
const css::lang::EventObject& rSource
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
// XPaintListener
virtual void SAL_CALL windowPaint(
const css::awt::PaintEvent& rEvent
- ) throw( css::uno::RuntimeException, std::exception ) override;
+ ) override;
// XWindowListener
- virtual void SAL_CALL windowResized( const css::awt::WindowEvent& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL windowMoved( const css::awt::WindowEvent& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL windowShown( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL windowHidden( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL windowResized( const css::awt::WindowEvent& aEvent ) override;
+ virtual void SAL_CALL windowMoved( const css::awt::WindowEvent& aEvent ) override;
+ virtual void SAL_CALL windowShown( const css::lang::EventObject& aEvent ) override;
+ virtual void SAL_CALL windowHidden( const css::lang::EventObject& aEvent ) override;
protected:
using OComponentHelper::disposing;