diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-01 14:34:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-02 16:59:58 +0100 |
commit | a4e5020f890abfbb4b95b299e70dd194502e7a2f (patch) | |
tree | 4abaedb6d11198ce3015bdc844aa1cee93af519d /ucb | |
parent | a921f41a26e5cddb345ef9e8d7a961211fb88bb5 (diff) |
coverity#1219792 Uncaught exception
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 6a9a34915fee..e93d2886ba7d 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -617,7 +617,7 @@ NeonSession::~NeonSession( ) } void NeonSession::Init( const DAVRequestEnvironment & rEnv ) - throw ( std::exception ) + throw (css::uno::RuntimeException, std::exception) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); m_aEnv = rEnv; @@ -625,7 +625,7 @@ void NeonSession::Init( const DAVRequestEnvironment & rEnv ) } void NeonSession::Init() - throw (css::uno::RuntimeException, std::exception ) + throw (css::uno::RuntimeException, std::exception) { osl::Guard< osl::Mutex > theGuard( m_aMutex ); diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 7a24757de097..f2e9ae1e4bc8 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -236,7 +236,7 @@ private: throw (css::uno::RuntimeException, std::exception); void Init( const DAVRequestEnvironment & rEnv ) - throw ( std::exception ); + throw (css::uno::RuntimeException, std::exception); // ret: true => retry request. void HandleError( int nError, |