diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:28:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-26 12:54:43 +0000 |
commit | e57ca02849c3d87142ff5ff9099a212e72b8139c (patch) | |
tree | bcce66b27261553c308779f3e8663a269ed3a671 /ucb/source/ucp/webdav/SerfSession.cxx | |
parent | 8802ebd5172ec4bc412a59d136c82b77ab452281 (diff) |
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.
Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly). The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually). There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).
Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code. Missing @throws
documentation has not been applied in such manual clean-up.
Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb/source/ucp/webdav/SerfSession.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/SerfSession.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx index 40c8ffe9fb26..90becfc60cb6 100644 --- a/ucb/source/ucp/webdav/SerfSession.cxx +++ b/ucb/source/ucp/webdav/SerfSession.cxx @@ -58,7 +58,6 @@ SerfSession::SerfSession( const rtl::Reference< DAVSessionFactory > & rSessionFactory, const OUString& inUri, const ucbhelper::InternetProxyDecider & rProxyDecider ) - throw ( DAVException ) : DAVSession( rSessionFactory ) , m_aMutex() , m_aUri( inUri ) @@ -91,7 +90,6 @@ SerfSession::~SerfSession( ) void SerfSession::Init( const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); m_aEnv = rEnv; @@ -100,7 +98,6 @@ void SerfSession::Init( const DAVRequestEnvironment & rEnv ) void SerfSession::Init() - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -597,7 +594,6 @@ void SerfSession::PROPFIND( const OUString & inPath, const std::vector< OUString > & inPropNames, std::vector< DAVResource > & ioResources, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -627,7 +623,6 @@ void SerfSession::PROPFIND( const OUString & inPath, const Depth inDepth, std::vector< DAVResourceInfo > & ioResInfo, const DAVRequestEnvironment & rEnv ) - throw( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -655,7 +650,6 @@ void SerfSession::PROPFIND( const OUString & inPath, void SerfSession::PROPPATCH( const OUString & inPath, const std::vector< ProppatchValue > & inValues, const DAVRequestEnvironment & rEnv ) - throw( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -676,7 +670,6 @@ void SerfSession::HEAD( const OUString & inPath, const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -703,7 +696,6 @@ void SerfSession::HEAD( const OUString & inPath, uno::Reference< io::XInputStream > SerfSession::GET( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -726,7 +718,6 @@ SerfSession::GET( const OUString & inPath, void SerfSession::GET( const OUString & inPath, uno::Reference< io::XOutputStream > & ioOutputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -748,7 +739,6 @@ SerfSession::GET( const OUString & inPath, const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -777,7 +767,6 @@ void SerfSession::GET( const OUString & inPath, const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -801,7 +790,6 @@ void SerfSession::GET( const OUString & inPath, void SerfSession::PUT( const OUString & inPath, const uno::Reference< io::XInputStream > & inInputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -828,7 +816,6 @@ SerfSession::POST( const OUString & inPath, const OUString & rReferer, const uno::Reference< io::XInputStream > & inInputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -863,7 +850,6 @@ void SerfSession::POST( const OUString & inPath, const uno::Reference< io::XInputStream > & inInputStream, uno::Reference< io::XOutputStream > & oOutputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -892,7 +878,6 @@ void SerfSession::POST( const OUString & inPath, void SerfSession::MKCOL( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -912,7 +897,6 @@ void SerfSession::COPY( const OUString & inSourceURL, const OUString & inDestinationURL, const DAVRequestEnvironment & rEnv, bool inOverWrite ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -933,7 +917,6 @@ void SerfSession::MOVE( const OUString & inSourceURL, const OUString & inDestinationURL, const DAVRequestEnvironment & rEnv, bool inOverWrite ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -952,7 +935,6 @@ void SerfSession::MOVE( const OUString & inSourceURL, void SerfSession::DESTROY( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -1002,7 +984,6 @@ namespace void SerfSession::LOCK( const OUString & inPath, ucb::Lock & rLock, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -1020,7 +1001,6 @@ void SerfSession::LOCK( const OUString & inPath, sal_Int64 SerfSession::LOCK( const OUString & /*inPath*/, sal_Int64 nTimeout, const DAVRequestEnvironment & /*rEnv*/ ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -1084,7 +1064,6 @@ bool SerfSession::LOCK( const OUString& rLock, void SerfSession::UNLOCK( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); @@ -1128,7 +1107,6 @@ void SerfSession::UNLOCK( const OUString& rLock ) void SerfSession::abort() - throw ( DAVException ) { // 11.11.09 (tkr): The following code lines causing crashes if // closing a ongoing connection. It turned out that this existing @@ -1249,7 +1227,6 @@ bool SerfSession::removeExpiredLocktoken( const OUString & /*inURL*/, // Common Error Handler void SerfSession::HandleError( std::shared_ptr<SerfRequestProcessor> rReqProc ) - throw ( DAVException ) { m_aEnv = DAVRequestEnvironment(); |