summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/DAVSession.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /ucb/source/ucp/webdav/DAVSession.hxx
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (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/DAVSession.hxx')
-rw-r--r--ucb/source/ucp/webdav/DAVSession.hxx57
1 files changed, 19 insertions, 38 deletions
diff --git a/ucb/source/ucp/webdav/DAVSession.hxx b/ucb/source/ucp/webdav/DAVSession.hxx
index 4a28d40a8d27..1c6a8c0e01aa 100644
--- a/ucb/source/ucp/webdav/DAVSession.hxx
+++ b/ucb/source/ucp/webdav/DAVSession.hxx
@@ -79,49 +79,42 @@ public:
const Depth inDepth,
const std::vector< OUString > & inPropertyNames,
std::vector< DAVResource > & ioResources,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
// propnames
/// @throws DAVException
virtual void PROPFIND( const OUString & inPath,
const Depth inDepth,
std::vector< DAVResourceInfo > & ioResInfo,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void PROPPATCH( const OUString & inPath,
const std::vector< ProppatchValue > & inValues,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void HEAD( const OUString & inPath,
const std::vector< OUString > & inHeaderNames,
DAVResource & ioResource,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual css::uno::Reference< css::io::XInputStream >
GET( const OUString & inPath,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void GET( const OUString & inPath,
css::uno::Reference< css::io::XOutputStream >& o,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual css::uno::Reference< css::io::XInputStream >
GET( const OUString & inPath,
const std::vector< OUString > & inHeaderNames,
DAVResource & ioResource,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void
@@ -129,14 +122,12 @@ public:
css::uno::Reference< css::io::XOutputStream >& o,
const std::vector< OUString > & inHeaderNames,
DAVResource & ioResource,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void PUT( const OUString & inPath,
const css::uno::Reference< css::io::XInputStream >& s,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual css::uno::Reference< css::io::XInputStream >
@@ -144,8 +135,7 @@ public:
const OUString & rContentType,
const OUString & rReferer,
const css::uno::Reference< css::io::XInputStream > & inInputStream,
- const DAVRequestEnvironment & rEnv )
- throw ( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void POST( const OUString & inPath,
@@ -153,55 +143,46 @@ public:
const OUString & rReferer,
const css::uno::Reference< css::io::XInputStream > & inInputStream,
css::uno::Reference< css::io::XOutputStream > & oOutputStream,
- const DAVRequestEnvironment & rEnv )
- throw ( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void MKCOL( const OUString & inPath,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void COPY( const OUString & inSource,
const OUString & inDestination,
const DAVRequestEnvironment & rEnv,
- bool inOverwrite = false )
- throw( DAVException ) = 0;
+ bool inOverwrite = false ) = 0;
/// @throws DAVException
virtual void MOVE( const OUString & inSource,
const OUString & inDestination,
const DAVRequestEnvironment & rEnv,
- bool inOverwrite = false )
- throw( DAVException ) = 0;
+ bool inOverwrite = false ) = 0;
/// @throws DAVException
virtual void DESTROY( const OUString & inPath,
- const DAVRequestEnvironment & rEnv )
- throw( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
// set new lock.
/// @throws DAVException
virtual void LOCK( const OUString & inPath,
css::ucb::Lock & inLock,
- const DAVRequestEnvironment & rEnv )
- throw ( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
// refresh existing lock.
/// @throws DAVException
virtual sal_Int64 LOCK( const OUString & inPath,
sal_Int64 nTimeout,
- const DAVRequestEnvironment & rEnv )
- throw ( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
virtual void UNLOCK( const OUString & inPath,
- const DAVRequestEnvironment & rEnv )
- throw ( DAVException ) = 0;
+ const DAVRequestEnvironment & rEnv ) = 0;
/// @throws DAVException
- virtual void abort()
- throw( DAVException ) = 0;
+ virtual void abort() = 0;
protected:
rtl::Reference< DAVSessionFactory > m_xFactory;