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 /ucb/source/cacher | |
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 'ucb/source/cacher')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 12 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.hxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.hxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultset.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultset.hxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultsetstub.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultsetstub.hxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.hxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/dynamicresultsetwrapper.cxx | 4 | ||||
-rw-r--r-- | ucb/source/cacher/dynamicresultsetwrapper.hxx | 4 |
12 files changed, 28 insertions, 28 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 04f9d677b9f0..297453f1540c 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -390,9 +390,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; @@ -484,13 +484,13 @@ CCRS_PropertySetInfo::CCRS_PropertySetInfo( // XInterface methods. void SAL_CALL CCRS_PropertySetInfo::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL CCRS_PropertySetInfo::release() - throw() + noexcept { OWeakObject::release(); } @@ -874,13 +874,13 @@ void CachedContentResultSet // XInterface methods. void SAL_CALL CachedContentResultSet::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL CachedContentResultSet::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx index ebe18ec2d10a..99867a074894 100644 --- a/ucb/source/cacher/cachedcontentresultset.hxx +++ b/ucb/source/cacher/cachedcontentresultset.hxx @@ -188,9 +188,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 diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index f570929e1ebf..19ca0dd060f8 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -57,13 +57,13 @@ CachedContentResultSetStub::~CachedContentResultSetStub() // XInterface methods. void SAL_CALL CachedContentResultSetStub::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL CachedContentResultSetStub::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx index 16a89d284896..8c1aba4201a6 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.hxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx @@ -92,9 +92,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; // own inherited diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx index c21bbf852bfb..b3464b66bdcb 100644 --- a/ucb/source/cacher/cacheddynamicresultset.cxx +++ b/ucb/source/cacher/cacheddynamicresultset.cxx @@ -76,13 +76,13 @@ void CachedDynamicResultSet // XInterface methods. void SAL_CALL CachedDynamicResultSet::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL CachedDynamicResultSet::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/cacheddynamicresultset.hxx b/ucb/source/cacher/cacheddynamicresultset.hxx index a30aca238830..27b037718b34 100644 --- a/ucb/source/cacher/cacheddynamicresultset.hxx +++ b/ucb/source/cacher/cacheddynamicresultset.hxx @@ -54,9 +54,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 diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx index 8428f12283ca..dacc037ef228 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx @@ -77,13 +77,13 @@ void CachedDynamicResultSetStub // XInterface methods. void SAL_CALL CachedDynamicResultSetStub::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL CachedDynamicResultSetStub::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.hxx b/ucb/source/cacher/cacheddynamicresultsetstub.hxx index 1d4f18da5417..d6386625f01b 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.hxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.hxx @@ -50,9 +50,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 diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index 6699fc9df710..55aaab35c97e 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -1230,13 +1230,13 @@ ContentResultSetWrapperListener::~ContentResultSetWrapperListener() // XInterface methods. void SAL_CALL ContentResultSetWrapperListener::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentResultSetWrapperListener::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx index 63e3602cbd75..abb1bd51d4c4 100644 --- a/ucb/source/cacher/contentresultsetwrapper.hxx +++ b/ucb/source/cacher/contentresultsetwrapper.hxx @@ -352,9 +352,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; //XEventListener diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx index 274aff18dc6a..12bac33b5f57 100644 --- a/ucb/source/cacher/dynamicresultsetwrapper.cxx +++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx @@ -434,13 +434,13 @@ DynamicResultSetWrapperListener::~DynamicResultSetWrapperListener() // XInterface methods. void SAL_CALL DynamicResultSetWrapperListener::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL DynamicResultSetWrapperListener::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx index cde25dafc60d..3d0cb9e737b6 100644 --- a/ucb/source/cacher/dynamicresultsetwrapper.hxx +++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx @@ -162,9 +162,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; // XEventListener ( base of XDynamicResultSetListener ) |