diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 08:38:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-02 11:39:32 +0100 |
commit | cf08d804d471ea77343489ab84a3918e82d061e4 (patch) | |
tree | 07b70ddc2cf5abce2796e7e762ffa6c14332531a /ucb | |
parent | 10fa7b0a520c4243f09fdb2027cf5cd546e1f15e (diff) |
coverity#1309065 Uncaught exception
Change-Id: I1ed3bec714a36bde4d4472b93f8e3a8950161e4d
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 |
3 files changed, 3 insertions, 4 deletions
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< |