From e2c387bb5b9cea23d26372f8a9bad9d21fb98bce Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2015 17:12:21 +0100 Subject: coverity#1308451 Uncaught exception Change-Id: I5ab1f27641b1b1ff01b364d93112d4ffe8a7b368 --- ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 +- ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') 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 ); -- cgit