diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-30 08:20:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-05-02 17:02:28 +0200 |
commit | 10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch) | |
tree | 7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /ucbhelper/source/provider | |
parent | a9243e626193ab4efe3a618413886773336a38e6 (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 'ucbhelper/source/provider')
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 8 | ||||
-rw-r--r-- | ucbhelper/source/provider/simplenameclashresolverequest.cxx | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index f273d51907d4..8ca2bfddec6a 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -139,7 +139,7 @@ ContentImplHelper::~ContentImplHelper() } void SAL_CALL ContentImplHelper::release() - throw() + noexcept { // #144882# - Call to OWeakObject::release may destroy m_xProvider. // Prevent this. diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index f954ad8e99e8..f736bac8a789 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -104,9 +104,9 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; virtual void SAL_CALL acquire() - throw() override; + noexcept override; virtual void SAL_CALL release() - throw() override; + noexcept override; // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; @@ -1427,13 +1427,13 @@ PropertySetInfo::PropertySetInfo( // XInterface methods. void SAL_CALL PropertySetInfo::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL PropertySetInfo::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucbhelper/source/provider/simplenameclashresolverequest.cxx b/ucbhelper/source/provider/simplenameclashresolverequest.cxx index 04e9f9ebc7e6..51517f93dd51 100644 --- a/ucbhelper/source/provider/simplenameclashresolverequest.cxx +++ b/ucbhelper/source/provider/simplenameclashresolverequest.cxx @@ -47,9 +47,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; virtual void SAL_CALL acquire() - throw() override; + noexcept override; virtual void SAL_CALL release() - throw() override; + noexcept override; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL @@ -75,13 +75,13 @@ public: }; void SAL_CALL InteractionSupplyName::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL InteractionSupplyName::release() - throw() + noexcept { OWeakObject::release(); } |