From e33742f4b1b3456ced02cbf6533f913033c6c81e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2015 20:38:02 +0100 Subject: coverity#1308493 Uncaught exception Change-Id: I2ec82799b08aa1762812dc9e1683329ebc72ab0f --- ucb/source/ucp/package/pkgcontent.cxx | 2 +- ucb/source/ucp/package/pkgcontent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index f3037121194d..0bf3c71ad616 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -1758,7 +1758,7 @@ void Content::insert( void Content::destroy( bool bDeletePhysical, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { // @@@ take care about bDeletePhysical -> trashcan support diff --git a/ucb/source/ucp/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx index 6b4c1fd6d252..b5e4f8d26f74 100644 --- a/ucb/source/ucp/package/pkgcontent.hxx +++ b/ucb/source/ucp/package/pkgcontent.hxx @@ -222,7 +222,7 @@ private: void destroy( bool bDeletePhysical, 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 ); void transfer( const ::com::sun::star::ucb::TransferInfo& rInfo, const ::com::sun::star::uno::Reference< -- cgit