From 9b62a5207745da6b926d2a311e5ddd16da1ae05b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 May 2014 09:22:44 +0100 Subject: coverity#1215315 Uncaught exception Change-Id: I0313bfc4f2d8cb30d98c32c55fd25a98f2f84f77 --- ucb/source/ucp/webdav-neon/webdavcontent.cxx | 3 ++- ucb/source/ucp/webdav-neon/webdavcontent.hxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ucb/source') diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index cfd9abfc2552..60e0396f3dbc 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -762,7 +762,8 @@ void Content::addProperty( const ucb::PropertyCommandArgument& aCmdArg, throw( beans::PropertyExistException, beans::IllegalTypeException, lang::IllegalArgumentException, - uno::RuntimeException ) + uno::RuntimeException, + std::exception ) { // if ( m_bTransient ) // @@@ ??? diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 5c0d1048dd64..060a3f5367d2 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -211,7 +211,8 @@ private: throw( com::sun::star::beans::PropertyExistException, com::sun::star::beans::IllegalTypeException, com::sun::star::lang::IllegalArgumentException, - com::sun::star::uno::RuntimeException ); + com::sun::star::uno::RuntimeException, + std::exception ); void removeProperty( const OUString& Name, const com::sun::star::uno::Reference< -- cgit