summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-02 08:37:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 11:39:32 +0100
commit10fa7b0a520c4243f09fdb2027cf5cd546e1f15e (patch)
tree99015807a4f85bae5a4b870b3eebffa8f64bfa1d /ucb
parentdba9ab75eda92be9fa92aaedd241d2bb2835c96d (diff)
coverity#1309063 Uncaught exception
Change-Id: I4fa0f2c0bb139c5c0a95647fc84fef978d3149b9
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 509ca0d0db2e..72a8c7e8bfa5 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2813,7 +2813,7 @@ void Content::lock(
void Content::unlock(
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
try
{
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 9240f0635669..a76bea91ff4a 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -185,7 +185,7 @@ private:
// Command "unlock"
void unlock( const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment >& Environment )
- throw( ::com::sun::star::uno::Exception );
+ throw( ::com::sun::star::uno::Exception, std::exception );
::com::sun::star::uno::Any MapDAVException( const DAVException & e,
bool bWrite );