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 /stoc/source/corereflection | |
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 'stoc/source/corereflection')
-rw-r--r-- | stoc/source/corereflection/base.hxx | 8 | ||||
-rw-r--r-- | stoc/source/corereflection/crarray.cxx | 4 | ||||
-rw-r--r-- | stoc/source/corereflection/crcomp.cxx | 8 | ||||
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 4 | ||||
-rw-r--r-- | stoc/source/corereflection/crenum.cxx | 8 | ||||
-rw-r--r-- | stoc/source/corereflection/criface.cxx | 16 |
6 files changed, 24 insertions, 24 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index 02742fdb660e..e322f87aa62e 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -104,8 +104,8 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // some XComponent part from OComponentHelper virtual void SAL_CALL dispose() override; @@ -271,8 +271,8 @@ public: {} virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; diff --git a/stoc/source/corereflection/crarray.cxx b/stoc/source/corereflection/crarray.cxx index ad3a4663fc3a..8a402c489899 100644 --- a/stoc/source/corereflection/crarray.cxx +++ b/stoc/source/corereflection/crarray.cxx @@ -39,12 +39,12 @@ Any ArrayIdlClassImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : IdlClassImpl::queryInterface( rType )); } -void ArrayIdlClassImpl::acquire() throw() +void ArrayIdlClassImpl::acquire() noexcept { IdlClassImpl::acquire(); } -void ArrayIdlClassImpl::release() throw() +void ArrayIdlClassImpl::release() noexcept { IdlClassImpl::release(); } diff --git a/stoc/source/corereflection/crcomp.cxx b/stoc/source/corereflection/crcomp.cxx index da4ad43b83e6..ae15991ad017 100644 --- a/stoc/source/corereflection/crcomp.cxx +++ b/stoc/source/corereflection/crcomp.cxx @@ -52,8 +52,8 @@ public: // XInterface virtual Any SAL_CALL queryInterface( const Type & rType ) override; - virtual void SAL_CALL acquire() throw () override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider virtual Sequence< Type > SAL_CALL getTypes() override; @@ -83,12 +83,12 @@ Any IdlCompFieldImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType )); } -void IdlCompFieldImpl::acquire() throw() +void IdlCompFieldImpl::acquire() noexcept { IdlMemberImpl::acquire(); } -void IdlCompFieldImpl::release() throw() +void IdlCompFieldImpl::release() noexcept { IdlMemberImpl::release(); } diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index e19869e5d9df..1f53572ff0c6 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -68,12 +68,12 @@ Any IdlReflectionServiceImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : OComponentHelper::queryInterface( rType )); } -void IdlReflectionServiceImpl::acquire() throw() +void IdlReflectionServiceImpl::acquire() noexcept { OComponentHelper::acquire(); } -void IdlReflectionServiceImpl::release() throw() +void IdlReflectionServiceImpl::release() noexcept { OComponentHelper::release(); } diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx index a225a2b63f25..ea441fc975fd 100644 --- a/stoc/source/corereflection/crenum.cxx +++ b/stoc/source/corereflection/crenum.cxx @@ -49,8 +49,8 @@ public: // XInterface virtual Any SAL_CALL queryInterface( const Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider virtual Sequence< Type > SAL_CALL getTypes() override; @@ -80,12 +80,12 @@ Any IdlEnumFieldImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType )); } -void IdlEnumFieldImpl::acquire() throw() +void IdlEnumFieldImpl::acquire() noexcept { IdlMemberImpl::acquire(); } -void IdlEnumFieldImpl::release() throw() +void IdlEnumFieldImpl::release() noexcept { IdlMemberImpl::release(); } diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index f958994d7b1d..07aca5fdb438 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -73,8 +73,8 @@ public: // XInterface virtual Any SAL_CALL queryInterface( const Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider virtual Sequence< Type > SAL_CALL getTypes() override; @@ -108,12 +108,12 @@ Any IdlAttributeFieldImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType )); } -void IdlAttributeFieldImpl::acquire() throw() +void IdlAttributeFieldImpl::acquire() noexcept { IdlMemberImpl::acquire(); } -void IdlAttributeFieldImpl::release() throw() +void IdlAttributeFieldImpl::release() noexcept { IdlMemberImpl::release(); } @@ -337,8 +337,8 @@ public: // XInterface virtual Any SAL_CALL queryInterface( const Type & rType ) override; - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; // XTypeProvider virtual Sequence< Type > SAL_CALL getTypes() override; @@ -366,12 +366,12 @@ Any IdlInterfaceMethodImpl::queryInterface( const Type & rType ) return (aRet.hasValue() ? aRet : IdlMemberImpl::queryInterface( rType )); } -void IdlInterfaceMethodImpl::acquire() throw() +void IdlInterfaceMethodImpl::acquire() noexcept { IdlMemberImpl::acquire(); } -void IdlInterfaceMethodImpl::release() throw() +void IdlInterfaceMethodImpl::release() noexcept { IdlMemberImpl::release(); } |