summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
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<