From 10d29c390dd58ed629dd27fe5ed35fae28eceec3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 30 Apr 2021 08:20:03 +0200 Subject: throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 4 ++-- UnoControls/source/inc/OConnectionPointHelper.hxx | 4 ++-- UnoControls/source/inc/framecontrol.hxx | 4 ++-- UnoControls/source/inc/progressbar.hxx | 4 ++-- UnoControls/source/inc/progressmonitor.hxx | 4 ++-- UnoControls/source/inc/statusindicator.hxx | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'UnoControls/source/inc') diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index a1a8a34178a7..54eed76e6ce1 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -59,7 +59,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -68,7 +68,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XConnectionPointContainer diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index f075b071a3cb..96529b20e795 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -62,7 +62,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -71,7 +71,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XConnectionPoint diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index 4224a95bfbec..790aae1aa8f1 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -56,7 +56,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -65,7 +65,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx index ef5eabe34781..dca88b90c4b4 100644 --- a/UnoControls/source/inc/progressbar.hxx +++ b/UnoControls/source/inc/progressbar.hxx @@ -60,7 +60,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -69,7 +69,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 3fe17c578751..baa06de66ded 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -85,7 +85,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -94,7 +94,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index 14ac4e03b8d9..e1930e9da808 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -75,7 +75,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL acquire() throw() override; + virtual void SAL_CALL acquire() noexcept override; /** @short decrement refcount @@ -84,7 +84,7 @@ public: @onerror A RuntimeException is thrown. */ - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider -- cgit