diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:28:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:54:43 +0000 |
commit | e57ca02849c3d87142ff5ff9099a212e72b8139c (patch) | |
tree | bcce66b27261553c308779f3e8663a269ed3a671 /UnoControls/inc/multiplexer.hxx | |
parent | 8802ebd5172ec4bc412a59d136c82b77ab452281 (diff) |
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.
Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly). The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually). There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).
Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code. Missing @throws
documentation has not been applied in such manual clean-up.
Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'UnoControls/inc/multiplexer.hxx')
-rw-r--r-- | UnoControls/inc/multiplexer.hxx | 72 |
1 files changed, 24 insertions, 48 deletions
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx index f238293444f1..6229b5a5b17e 100644 --- a/UnoControls/inc/multiplexer.hxx +++ b/UnoControls/inc/multiplexer.hxx @@ -100,8 +100,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; /**_______________________________________________________________________________________________________ @short increment refcount @@ -154,88 +153,65 @@ public: // XEventListener - virtual void SAL_CALL disposing(const css::lang::EventObject& aSource) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL disposing(const css::lang::EventObject& aSource) override; // XFocusListener - virtual void SAL_CALL focusGained(const css::awt::FocusEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL focusGained(const css::awt::FocusEvent& aEvent ) override; - virtual void SAL_CALL focusLost(const css::awt::FocusEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL focusLost(const css::awt::FocusEvent& aEvent ) override; // XWindowListener - virtual void SAL_CALL windowResized(const css::awt::WindowEvent& 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 ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowMoved(const css::awt::WindowEvent& aEvent ) override; - virtual void SAL_CALL windowShown(const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowShown(const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowHidden(const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowHidden(const css::lang::EventObject& aEvent ) override; // XKeyListener - virtual void SAL_CALL keyPressed( const css::awt::KeyEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL keyPressed( const css::awt::KeyEvent& aEvent ) override; - virtual void SAL_CALL keyReleased( const css::awt::KeyEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL keyReleased( const css::awt::KeyEvent& aEvent ) override; // XMouseListener - virtual void SAL_CALL mousePressed(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mousePressed(const css::awt::MouseEvent& aEvent ) override; - virtual void SAL_CALL mouseReleased(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mouseReleased(const css::awt::MouseEvent& aEvent ) override; - virtual void SAL_CALL mouseEntered(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mouseEntered(const css::awt::MouseEvent& aEvent ) override; - virtual void SAL_CALL mouseExited(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mouseExited(const css::awt::MouseEvent& aEvent ) override; // XMouseMotionListener - virtual void SAL_CALL mouseDragged(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mouseDragged(const css::awt::MouseEvent& aEvent ) override; - virtual void SAL_CALL mouseMoved(const css::awt::MouseEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL mouseMoved(const css::awt::MouseEvent& aEvent ) override; // XPaintListener - virtual void SAL_CALL windowPaint(const css::awt::PaintEvent& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowPaint(const css::awt::PaintEvent& aEvent ) override; // XTopWindowListener - virtual void SAL_CALL windowOpened( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowOpened( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowClosing( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowClosing( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowClosed( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowClosed( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowMinimized( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowMinimized( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowNormalized( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowNormalized( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowActivated( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowActivated( const css::lang::EventObject& aEvent ) override; - virtual void SAL_CALL windowDeactivated( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL windowDeactivated( const css::lang::EventObject& aEvent ) override; // protected methods |