summaryrefslogtreecommitdiff
path: root/include/cppuhelper/implbase6.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/cppuhelper/implbase6.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/cppuhelper/implbase6.hxx')
-rw-r--r--include/cppuhelper/implbase6.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/cppuhelper/implbase6.hxx b/include/cppuhelper/implbase6.hxx
index c87d9184b1e4..8adb7549d3de 100644
--- a/include/cppuhelper/implbase6.hxx
+++ b/include/cppuhelper/implbase6.hxx
@@ -103,7 +103,7 @@ namespace cppu
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
- ~ImplHelper6() throw () {}
+ ~ImplHelper6() SAL_NOEXCEPT {}
#if defined _MSC_VER && defined __clang__
#pragma clang diagnostic pop
#endif
@@ -126,9 +126,9 @@ namespace cppu
public:
virtual css::uno::Any SAL_CALL queryInterface( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakImplHelper_getTypes( cd::get() ); }
@@ -160,9 +160,9 @@ namespace cppu
{ return OWeakAggObject::queryInterface( rType ); }
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & rType ) SAL_OVERRIDE
{ return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); }
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ OWeakAggObject::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return WeakAggImplHelper_getTypes( cd::get() ); }
@@ -227,9 +227,9 @@ namespace cppu
return aRet;
return BaseClass::queryInterface( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
@@ -297,9 +297,9 @@ namespace cppu
return aRet;
return BaseClass::queryAggregation( rType );
}
- virtual void SAL_CALL acquire() throw () SAL_OVERRIDE
+ virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::acquire(); }
- virtual void SAL_CALL release() throw () SAL_OVERRIDE
+ virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
{ BaseClass::release(); }
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
{ return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }