diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 14:06:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 17:16:37 +0100 |
commit | a1b7a11fae3e2992d13a8768882b8a928ea46112 (patch) | |
tree | 3c14e2b6a62dd257130d349bc6fd3dbe6f8e2f99 /ucb | |
parent | 833067c8701bb2b8210ad58bf540e13373300988 (diff) |
coverity#989726 Uncaught exception
Change-Id: I6c2e02904ad314b0b6f6b27581b06b8bd1f18f75
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVException.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVException.hxx b/ucb/source/ucp/webdav-neon/DAVException.hxx index efdbbf6a2dac..6a5dc85191eb 100644 --- a/ucb/source/ucp/webdav-neon/DAVException.hxx +++ b/ucb/source/ucp/webdav-neon/DAVException.hxx @@ -103,7 +103,7 @@ const sal_uInt16 SC_INSUFFICIENT_STORAGE = 507; -class DAVException +class DAVException : std::exception { public: enum ExceptionCode { diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 2ff4dd6beb09..f6cf87538bcf 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -3178,7 +3178,7 @@ Content::ResourceType Content::getResourceType( const uno::Reference< ucb::XCommandEnvironment >& xEnv, const std::auto_ptr< DAVResourceAccess > & rResAccess, bool * networkAccessAllowed) - throw ( uno::Exception ) + throw ( uno::Exception, std::exception ) { { osl::MutexGuard g(m_aMutex); diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 791fcb039438..01e30d1d96ed 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -146,7 +146,7 @@ private: ::com::sun::star::ucb::XCommandEnvironment >& xEnv, const std::auto_ptr< DAVResourceAccess > & rResAccess, bool * networkAccessAllowed = 0) - throw ( ::com::sun::star::uno::Exception ); + throw ( ::com::sun::star::uno::Exception, std::exception ); SAL_WNODEPRECATED_DECLARATIONS_POP // Command "open" |