summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 17:25:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:25:04 +0100
commit1de1371ce4d5499c9d85d9cc2137f1717eff348f (patch)
tree37e2e3d3cac9d7bc47d5f46c09cd76f7e2fd6352 /ucb
parent601595db30bf2cbc91a255bcfc0012aa3ae0a0aa (diff)
coverity#1308462 Uncaught exception
Change-Id: I2dbd6fe60b6f61fd321735eaede5f8975af3b44e
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.cxx2
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.hxx2
2 files changed, 2 insertions, 2 deletions
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<