summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 17:12:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:25:00 +0100
commite2c387bb5b9cea23d26372f8a9bad9d21fb98bce (patch)
tree2921f075710c9507b49aa12c0284425a0877302c /ucb
parentb3b5cff75bf4f81dd86255d944809d45996c734c (diff)
coverity#1308451 Uncaught exception
Change-Id: I5ab1f27641b1b1ff01b364d93112d4ffe8a7b368
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index a312328edab3..72f2548ce5f4 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -3114,7 +3114,7 @@ void Content::cancelCommandExecution(
const DAVException & e,
const uno::Reference< ucb::XCommandEnvironment > & xEnv,
bool bWrite /* = sal_False */ )
- throw ( uno::Exception )
+ throw ( uno::Exception, std::exception )
{
ucbhelper::cancelCommandExecution( MapDAVException( e, bWrite ), xEnv );
// Unreachable
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 78eaf21391aa..fffd0b526680 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -194,7 +194,7 @@ private:
const ::com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment > & xEnv,
bool bWrite = false )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
static bool shouldAccessNetworkAfterException( const DAVException & e );