summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 18:59:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:59:30 +0100
commitec44f1ae39e44f55ef1b1625fc5f638d2dbf5256 (patch)
tree6baf6a23238f5ec318fb000b6daf3956a9130709 /ucb
parent8c8ad6af032c40be90e02fcf8b87320ed0aae069 (diff)
coverity#1308479 Uncaught exception
Change-Id: I1ead142b0459c87efb2b09e602553b79d2bd6b26
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 b43492708350..44dffe67a7a1 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx
@@ -1585,7 +1585,7 @@ void HierarchyContent::destroy( bool bDeletePhysical,
void HierarchyContent::transfer(
const ucb::TransferInfo& rInfo,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
index 47e5ff292894..876e9446561a 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx
@@ -212,7 +212,7 @@ private:
void transfer( const ::com::sun::star::ucb::TransferInfo& rInfo,
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 );
public:
// Create existing content. Fail, if not already exists.