From 39c2de683a3ffb116c49f089df00b73afb63383c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Jul 2015 08:33:59 +0100 Subject: coverity#1309060 Uncaught exception Change-Id: I9815d25807f19bdd87e4aca9348e95f521f4fdd8 --- 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 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< -- cgit