From cf08d804d471ea77343489ab84a3918e82d061e4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Jul 2015 08:38:50 +0100 Subject: coverity#1309065 Uncaught exception Change-Id: I1ed3bec714a36bde4d4472b93f8e3a8950161e4d --- ucb/source/core/ucbcmds.cxx | 2 +- ucb/source/ucp/webdav-neon/webdavcontent.cxx | 3 +-- ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'ucb') diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 475dc1785bd8..249d8d82aaca 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -1207,7 +1207,7 @@ void globalTransfer_( const uno::Reference< ucb::XContent > & xSource, const uno::Reference< ucb::XContent > & xTarget, const uno::Reference< sdbc::XRow > & xSourceProps ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { // IsFolder: property is required. bool bSourceIsFolder = xSourceProps->getBoolean( 1 ); diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 72a8c7e8bfa5..88d780d56645 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2106,11 +2106,10 @@ uno::Any Content::open( return aRet; } - void Content::post( const ucb::PostCommandArgument2 & rArg, const uno::Reference< ucb::XCommandEnvironment > & xEnv ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { uno::Reference< io::XActiveDataSink > xSink( rArg.Sink, uno::UNO_QUERY ); if ( xSink.is() ) diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index a76bea91ff4a..85f2b3022f74 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -157,7 +157,7 @@ private: void post( const com::sun::star::ucb::PostCommandArgument2 & rArg, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ) - throw( ::com::sun::star::uno::Exception ); + throw( ::com::sun::star::uno::Exception, std::exception ); // Command "insert" void insert( const ::com::sun::star::uno::Reference< -- cgit