summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 20:38:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 13:22:58 +0100
commite33742f4b1b3456ced02cbf6533f913033c6c81e (patch)
treec9df6fbe8b22d1555dc21b2e757c5284e497252f /ucb
parente830cde3e7f8d9f5a7bf5703e654811001937a6c (diff)
coverity#1308493 Uncaught exception
Change-Id: I2ec82799b08aa1762812dc9e1683329ebc72ab0f
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 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<