summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 17:29:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:25:05 +0100
commit625e373d6c668b6d34fbc6a4d42dd41c550dd782 (patch)
treed8b83ef7ed99405768949fd8ca397961ca48a67f /ucb
parentaf15eb1211cb4279a902f5e9c78e12f65e2283a4 (diff)
coverity#1308465 Uncaught exception
Change-Id: I557bebf4ea458dc7c48ca2640c0aa3af3aa9cfd1
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx2
-rw-r--r--ucb/source/ucp/package/pkgcontent.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index f7713b02c10f..881559fe07fd 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -1804,7 +1804,7 @@ void Content::destroy(
void Content::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/package/pkgcontent.hxx b/ucb/source/ucp/package/pkgcontent.hxx
index b58b8f03fa0a..1e2a79476ffc 100644
--- a/ucb/source/ucp/package/pkgcontent.hxx
+++ b/ucb/source/ucp/package/pkgcontent.hxx
@@ -227,7 +227,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 );
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
getInputStream();