diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 08:33:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 11:39:31 +0100 |
commit | 39c2de683a3ffb116c49f089df00b73afb63383c (patch) | |
tree | 8fc6b1d03cc2b791a00a5c380f553a7e1caeed2d /ucb | |
parent | b9bed0f9b63fae6094b6ab650b18afc1789e56da (diff) |
coverity#1309060 Uncaught exception
Change-Id: I9815d25807f19bdd87e4aca9348e95f521f4fdd8
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 |
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 579781995fa6..509ca0d0db2e 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2772,7 +2772,7 @@ bool Content::supportsExclusiveWriteLock( void Content::lock( 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 5b01882744cc..9240f0635669 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -180,7 +180,7 @@ private: // Command "lock" void lock( 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 ); // Command "unlock" void unlock( const com::sun::star::uno::Reference< |