summaryrefslogtreecommitdiff
path: root/include/toolkit/helper/macros.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /include/toolkit/helper/macros.hxx
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'include/toolkit/helper/macros.hxx')
-rw-r--r--include/toolkit/helper/macros.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
index 1bfd46b1bd7e..cd121bc0998d 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -37,8 +37,8 @@ class ClassName final : public ListenerMultiplexerBase, public InterfaceName \
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -48,8 +48,8 @@ class TOOLKIT_DLLPUBLIC ClassName final : public ListenerMultiplexerBase, public
public: \
ClassName( ::cppu::OWeakObject& rSource ); \
css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; \
- void SAL_CALL acquire() throw() override; \
- void SAL_CALL release() throw() override; \
+ void SAL_CALL acquire() noexcept override; \
+ void SAL_CALL release() noexcept override; \
void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
@@ -62,8 +62,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
: ListenerMultiplexerBase( rSource ) \
{ \
} \
-void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
-void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
+void SAL_CALL ClassName::acquire() noexcept { ListenerMultiplexerBase::acquire(); } \
+void SAL_CALL ClassName::release() noexcept { ListenerMultiplexerBase::release(); } \
css::uno::Any ClassName::queryInterface( const css::uno::Type & rType ) \
{ \
css::uno::Any aRet = ::cppu::queryInterface( rType, \