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 | |
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')
60 files changed, 132 insertions, 132 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 ) diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx index 3424b27aca94..337a1d8f1c42 100644 --- a/ucb/source/core/provprox.cxx +++ b/ucb/source/core/provprox.cxx @@ -108,13 +108,13 @@ UcbContentProviderProxy::~UcbContentProviderProxy() // XInterface methods. void SAL_CALL UcbContentProviderProxy::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL UcbContentProviderProxy::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/core/provprox.hxx b/ucb/source/core/provprox.hxx index 4a95ada1ac26..a57516c37798 100644 --- a/ucb/source/core/provprox.hxx +++ b/ucb/source/core/provprox.hxx @@ -91,9 +91,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; diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 82a0ff409da2..e29afbf72ae5 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -1695,12 +1695,12 @@ namespace cmis XTYPEPROVIDER_COMMON_IMPL( Content ); - void SAL_CALL Content::acquire() throw() + void SAL_CALL Content::acquire() noexcept { ContentImplHelper::acquire(); } - void SAL_CALL Content::release() throw() + void SAL_CALL Content::release() noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index cadfd3ea3112..54d7b6e41b08 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -164,9 +164,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; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index ded4483ecdfd..3807ebeac391 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -92,13 +92,13 @@ ContentProvider::~ContentProvider() //XInterface void SAL_CALL ContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/cmis/cmis_provider.hxx b/ucb/source/ucp/cmis/cmis_provider.hxx index f6b627840da2..127ec46ca4f9 100644 --- a/ucb/source/ucp/cmis/cmis_provider.hxx +++ b/ucb/source/ucp/cmis/cmis_provider.hxx @@ -30,9 +30,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; diff --git a/ucb/source/ucp/cmis/std_inputstream.cxx b/ucb/source/ucp/cmis/std_inputstream.cxx index a85f77d4e4e9..9ec4f6034f95 100644 --- a/ucb/source/ucp/cmis/std_inputstream.cxx +++ b/ucb/source/ucp/cmis/std_inputstream.cxx @@ -49,12 +49,12 @@ namespace cmis return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } - void SAL_CALL StdInputStream::acquire( ) throw( ) + void SAL_CALL StdInputStream::acquire( ) noexcept { OWeakObject::acquire(); } - void SAL_CALL StdInputStream::release( ) throw( ) + void SAL_CALL StdInputStream::release( ) noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/cmis/std_inputstream.hxx b/ucb/source/ucp/cmis/std_inputstream.hxx index 37bb4fb57339..82bf5e39b568 100644 --- a/ucb/source/ucp/cmis/std_inputstream.hxx +++ b/ucb/source/ucp/cmis/std_inputstream.hxx @@ -35,9 +35,9 @@ namespace cmis virtual css::uno::Any SAL_CALL queryInterface ( const css::uno::Type& rType ) override; - virtual void SAL_CALL acquire( ) throw ( ) override; + virtual void SAL_CALL acquire( ) noexcept override; - virtual void SAL_CALL release( ) throw ( ) override; + virtual void SAL_CALL release( ) noexcept override; virtual sal_Int32 SAL_CALL readBytes ( css::uno::Sequence< sal_Int8 >& aData, diff --git a/ucb/source/ucp/cmis/std_outputstream.cxx b/ucb/source/ucp/cmis/std_outputstream.cxx index becb8327dc62..deb70fb65f95 100644 --- a/ucb/source/ucp/cmis/std_outputstream.cxx +++ b/ucb/source/ucp/cmis/std_outputstream.cxx @@ -38,12 +38,12 @@ namespace cmis return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } - void SAL_CALL StdOutputStream::acquire( ) throw( ) + void SAL_CALL StdOutputStream::acquire( ) noexcept { OWeakObject::acquire(); } - void SAL_CALL StdOutputStream::release( ) throw( ) + void SAL_CALL StdOutputStream::release( ) noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/cmis/std_outputstream.hxx b/ucb/source/ucp/cmis/std_outputstream.hxx index 87afd47c8ee8..4cf10646e7b9 100644 --- a/ucb/source/ucp/cmis/std_outputstream.hxx +++ b/ucb/source/ucp/cmis/std_outputstream.hxx @@ -33,9 +33,9 @@ namespace cmis virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override; - virtual void SAL_CALL acquire ( ) throw ( ) override; + virtual void SAL_CALL acquire ( ) noexcept override; - virtual void SAL_CALL release ( ) throw ( ) override; + virtual void SAL_CALL release ( ) noexcept override; virtual void SAL_CALL writeBytes ( const css::uno::Sequence< sal_Int8 >& aData ) override; diff --git a/ucb/source/ucp/file/filcmd.cxx b/ucb/source/ucp/file/filcmd.cxx index a6f0f954cc98..6742f693d0e7 100644 --- a/ucb/source/ucp/file/filcmd.cxx +++ b/ucb/source/ucp/file/filcmd.cxx @@ -47,7 +47,7 @@ XCommandInfo_impl::~XCommandInfo_impl() void SAL_CALL XCommandInfo_impl::acquire() - throw() + noexcept { OWeakObject::acquire(); } @@ -55,7 +55,7 @@ XCommandInfo_impl::acquire() void SAL_CALL XCommandInfo_impl::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/file/filcmd.hxx b/ucb/source/ucp/file/filcmd.hxx index b3f74641ba3c..4a7729e89bd4 100644 --- a/ucb/source/ucp/file/filcmd.hxx +++ b/ucb/source/ucp/file/filcmd.hxx @@ -46,11 +46,11 @@ namespace fileaccess { virtual void SAL_CALL acquire() - throw() override; + noexcept override; virtual void SAL_CALL release() - throw() override; + noexcept override; // XCommandInfo diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 525e099b0cf4..9fa76da40c1a 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -210,11 +210,11 @@ public: virtual void SAL_CALL acquire() - throw() override; + noexcept override; virtual void SAL_CALL release() - throw() override; + noexcept override; virtual Sequence< Property > SAL_CALL @@ -254,7 +254,7 @@ XPropertySetInfoImpl2::XPropertySetInfoImpl2() void SAL_CALL XPropertySetInfoImpl2::acquire() - throw() + noexcept { OWeakObject::acquire(); } @@ -262,7 +262,7 @@ XPropertySetInfoImpl2::acquire() void SAL_CALL XPropertySetInfoImpl2::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/ftp/ftpcontainer.hxx b/ucb/source/ucp/ftp/ftpcontainer.hxx index 22da7d90a221..e555111a223d 100644 --- a/ucb/source/ucp/ftp/ftpcontainer.hxx +++ b/ucb/source/ucp/ftp/ftpcontainer.hxx @@ -40,7 +40,7 @@ public: const void* pBuffer, size_t size, size_t nmemb - ) throw(); + ) noexcept; sal_uInt32 m_nLen,m_nWritePos; diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 7a6716ee06a0..a1f4a6a21fba 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -116,13 +116,13 @@ FTPContent::~FTPContent() // XInterface methods. void SAL_CALL FTPContent::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL FTPContent::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/ftp/ftpcontent.hxx b/ucb/source/ucp/ftp/ftpcontent.hxx index b733bc45530c..ab0bda66ad73 100644 --- a/ucb/source/ucp/ftp/ftpcontent.hxx +++ b/ucb/source/ucp/ftp/ftpcontent.hxx @@ -64,9 +64,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; diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 895711e0cfb4..7a237da55258 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -56,13 +56,13 @@ FTPContentProvider::~FTPContentProvider() // XInterface methods. void SAL_CALL FTPContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL FTPContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx index 9de57e87ec38..3547de0f2a50 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx @@ -51,9 +51,9 @@ namespace ftp // 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; diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx index ff2c970f181e..05422549fa25 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx @@ -49,7 +49,7 @@ ResultSetBase::~ResultSetBase() void SAL_CALL ResultSetBase::acquire() - throw() + noexcept { OWeakObject::acquire(); } @@ -57,7 +57,7 @@ ResultSetBase::acquire() void SAL_CALL ResultSetBase::release() - throw() + noexcept { OWeakObject::release(); } @@ -347,14 +347,14 @@ public: } void SAL_CALL acquire() - throw() override + noexcept override { OWeakObject::acquire(); } void SAL_CALL release() - throw() override + noexcept override { OWeakObject::release(); } diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.hxx b/ucb/source/ucp/ftp/ftpresultsetbase.hxx index 66e1f11186ba..f20a4eb4219c 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.hxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.hxx @@ -60,11 +60,11 @@ namespace ftp { virtual void SAL_CALL acquire() - throw() override; + noexcept override; virtual void SAL_CALL release() - throw() override; + noexcept override; // XComponent virtual void SAL_CALL diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index d6afdc8610df..798dd9bed3a5 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -75,7 +75,7 @@ int MemoryContainer::append( const void* pBuffer, size_t size, size_t nmemb -) throw() +) noexcept { sal_uInt32 nLen = size*nmemb; sal_uInt32 tmp(nLen + m_nWritePos); diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 7bb39eb616a3..31907611e880 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -1314,12 +1314,12 @@ css::uno::Sequence< css::ucb::CommandInfo > Content::getCommands( const css::uno XTYPEPROVIDER_COMMON_IMPL( Content ); -void SAL_CALL Content::acquire() throw() +void SAL_CALL Content::acquire() noexcept { ContentImplHelper::acquire(); } -void SAL_CALL Content::release() throw() +void SAL_CALL Content::release() noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx index 18eb3cd56858..e92eb57e56e5 100644 --- a/ucb/source/ucp/gio/gio_content.hxx +++ b/ucb/source/ucp/gio/gio_content.hxx @@ -146,9 +146,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; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; diff --git a/ucb/source/ucp/gio/gio_outputstream.hxx b/ucb/source/ucp/gio/gio_outputstream.hxx index c76a1af3433f..40bdbcfc42db 100644 --- a/ucb/source/ucp/gio/gio_outputstream.hxx +++ b/ucb/source/ucp/gio/gio_outputstream.hxx @@ -45,8 +45,8 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & type ) override; - virtual void SAL_CALL acquire() throw () override { OWeakObject::acquire(); } - virtual void SAL_CALL release() throw() override { OWeakObject::release(); } + virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); } + virtual void SAL_CALL release() noexcept override { OWeakObject::release(); } // XOutputStream virtual void SAL_CALL writeBytes( const css::uno::Sequence< sal_Int8 >& aData ) override; diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index 3472fcfdf609..b6dd31fbbcf1 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -68,13 +68,13 @@ ContentProvider::~ContentProvider() // XInterface void SAL_CALL ContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx index 526c73b34729..5f895f2e3d93 100644 --- a/ucb/source/ucp/gio/gio_provider.hxx +++ b/ucb/source/ucp/gio/gio_provider.hxx @@ -33,8 +33,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; // XTypeProvider virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() override; diff --git a/ucb/source/ucp/gio/gio_seekable.hxx b/ucb/source/ucp/gio/gio_seekable.hxx index a17b81f1c6c5..9bf284b89023 100644 --- a/ucb/source/ucp/gio/gio_seekable.hxx +++ b/ucb/source/ucp/gio/gio_seekable.hxx @@ -41,8 +41,8 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& type) override; - virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); } - virtual void SAL_CALL release() throw() override { OWeakObject::release(); } + virtual void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); } + virtual void SAL_CALL release() noexcept override { OWeakObject::release(); } // XSeekable virtual void SAL_CALL seek(sal_Int64 location) override; diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index 5afd6cc5bb3b..76391b4bfc51 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -154,7 +154,7 @@ HierarchyContent::~HierarchyContent() // virtual void SAL_CALL HierarchyContent::acquire() - throw( ) + noexcept { ContentImplHelper::acquire(); } @@ -162,7 +162,7 @@ void SAL_CALL HierarchyContent::acquire() // virtual void SAL_CALL HierarchyContent::release() - throw( ) + noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx index 566ead8486f3..94e75730a900 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx @@ -200,9 +200,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; diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index cfd4c5e500e5..253a1d8e79a7 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -94,9 +94,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; // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; @@ -496,13 +496,13 @@ HierarchyDataAccess::HierarchyDataAccess( const uno::Reference< // XInterface methods. void SAL_CALL HierarchyDataAccess::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL HierarchyDataAccess::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx index c6ca49541d90..fa8cdaca8887 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx @@ -63,13 +63,13 @@ HierarchyContentProvider::~HierarchyContentProvider() // XInterface methods. void SAL_CALL HierarchyContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL HierarchyContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx index 2625b5753048..55edb8448ebe 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx @@ -76,9 +76,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; diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index dfda010f2f63..346a5781050d 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -276,7 +276,7 @@ Content::~Content() // virtual void SAL_CALL Content::acquire() - throw( ) + noexcept { ContentImplHelper::acquire(); } @@ -284,7 +284,7 @@ void SAL_CALL Content::acquire() // virtual void SAL_CALL Content::release() - throw( ) + noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx index ffa603765e7a..38b26b2becc6 100644 --- a/ucb/source/ucp/package/pkgcontent.hxx +++ b/ucb/source/ucp/package/pkgcontent.hxx @@ -216,9 +216,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; diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index 097eb09d44f3..05fd6481d2b8 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -68,10 +68,10 @@ public: queryInterface( const uno::Type& aType ) override { return m_xNA->queryInterface( aType ); } virtual void SAL_CALL - acquire() throw() override + acquire() noexcept override { OWeakObject::acquire(); } virtual void SAL_CALL - release() throw() override + release() noexcept override { OWeakObject::release(); } // XHierarchicalNameAccess @@ -107,13 +107,13 @@ ContentProvider::~ContentProvider() // XInterface methods. void SAL_CALL ContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx index ebec7524d32f..115d30e9c71b 100644 --- a/ucb/source/ucp/package/pkgprovider.hxx +++ b/ucb/source/ucp/package/pkgprovider.hxx @@ -56,9 +56,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; diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 9dd1b6bf0b73..dcb800ee91c8 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -177,7 +177,7 @@ Content::~Content() // virtual void SAL_CALL Content::acquire() - throw( ) + noexcept { ContentImplHelper::acquire(); } @@ -185,7 +185,7 @@ void SAL_CALL Content::acquire() // virtual void SAL_CALL Content::release() - throw( ) + noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx index 1a9ffe0c8795..56117b1b0853 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.hxx +++ b/ucb/source/ucp/tdoc/tdoc_content.hxx @@ -217,9 +217,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; diff --git a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx index cac1eaaf61e3..a5a8f742b41d 100644 --- a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx +++ b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx @@ -49,9 +49,9 @@ namespace tdoc_ucp // XInterface virtual uno::Any SAL_CALL queryInterface( const uno::Type & rType ) override; virtual void SAL_CALL acquire() - throw () override; + noexcept override; virtual void SAL_CALL release() - throw () override; + noexcept override; // XTypeProvider virtual uno::Sequence< uno::Type > SAL_CALL getTypes() override; @@ -81,7 +81,7 @@ namespace tdoc_ucp // virtual void SAL_CALL InteractionSupplyPassword::acquire() - throw() + noexcept { OWeakObject::acquire(); } @@ -89,7 +89,7 @@ void SAL_CALL InteractionSupplyPassword::acquire() // virtual void SAL_CALL InteractionSupplyPassword::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index f468bbf12fc4..f6b187cca1a8 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -66,13 +66,13 @@ ContentProvider::~ContentProvider() // XInterface methods. void SAL_CALL ContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx index 08fff75d8891..406252ff23d3 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -64,9 +64,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; diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx index e3eff3f78dd4..ad1ac498db72 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.cxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.cxx @@ -160,7 +160,7 @@ uno::Any SAL_CALL Storage::queryInterface( const uno::Type& aType ) // virtual void SAL_CALL Storage::acquire() - throw () + noexcept { osl_atomic_increment( &m_refCount ); } @@ -168,7 +168,7 @@ void SAL_CALL Storage::acquire() // virtual void SAL_CALL Storage::release() - throw () + noexcept { //#i120738, Storage::release overrides OWeakObject::release(), //need call OWeakObject::release() to release OWeakObject::m_pWeakConnectionPoint diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx index 29bec5573377..eda5390f07b6 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx @@ -85,9 +85,9 @@ public: virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; virtual void SAL_CALL acquire() - throw () override; + noexcept override; virtual void SAL_CALL release() - throw () override; + noexcept override; // XTypeProvider (implemnented by base, but needs to be overridden for // delegating to aggregate) diff --git a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx index d00760b92758..aa685e28335f 100644 --- a/ucb/source/ucp/webdav-neon/NeonInputStream.hxx +++ b/ucb/source/ucp/webdav-neon/NeonInputStream.hxx @@ -59,11 +59,11 @@ class NeonInputStream : public css::io::XInputStream, virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & type ) override; virtual void SAL_CALL acquire() - throw () override + noexcept override { OWeakObject::acquire(); } virtual void SAL_CALL release() - throw() override + noexcept override { OWeakObject::release(); } diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 472366469c76..0ef3028b6be9 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -280,7 +280,7 @@ Content::~Content() // virtual void SAL_CALL Content::acquire() - throw( ) + noexcept { ContentImplHelper::acquire(); } @@ -288,7 +288,7 @@ void SAL_CALL Content::acquire() // virtual void SAL_CALL Content::release() - throw( ) + noexcept { ContentImplHelper::release(); } diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index ccdac291272a..f00f9a02465e 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -237,9 +237,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; diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx index 55d8619a94aa..87dc8b03188b 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx @@ -63,13 +63,13 @@ ContentProvider::~ContentProvider() // XInterface methods. void SAL_CALL ContentProvider::acquire() - throw() + noexcept { OWeakObject::acquire(); } void SAL_CALL ContentProvider::release() - throw() + noexcept { OWeakObject::release(); } diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx index d03c310a3639..439ace674be9 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx @@ -76,9 +76,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; |