From 1de1371ce4d5499c9d85d9cc2137f1717eff348f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2015 17:25:54 +0100 Subject: coverity#1308462 Uncaught exception Change-Id: I2dbd6fe60b6f61fd321735eaede5f8975af3b44e --- ucb/source/ucp/hierarchy/hierarchycontent.cxx | 2 +- ucb/source/ucp/hierarchy/hierarchycontent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index 98af51349a50..50f1c9609bb2 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -1528,7 +1528,7 @@ void HierarchyContent::insert( sal_Int32 nNameClashResolve, void HierarchyContent::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/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx index 1eacd2f76b5a..f094fc8cb313 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx @@ -207,7 +207,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