summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 20:43:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 13:22:59 +0100
commit4105031a933ae08b53cd5703aae7e0b4318071b7 (patch)
treeb62f38c1caf80eca14f5e5efdf470dd140a878d7 /ucb
parent5f762e3b2d5e53018b72c3f14a7e99d89eafbb37 (diff)
coverity#1308497 Uncaught exception
Change-Id: Icf49cb8bd275c9c2591c85276f05952b5e253cb5
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx2
-rw-r--r--ucb/source/ucp/gio/gio_content.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index 5bae7b664137..83b07fcbfd23 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1020,7 +1020,7 @@ uno::Any SAL_CALL Content::execute(
}
void Content::destroy( bool bDeletePhysical )
- throw( uno::Exception )
+ throw( uno::Exception, std::exception )
{
uno::Reference< ucb::XContent > xThis = this;
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index 0333a5dba2f4..c4ce79e09bc9 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -99,7 +99,7 @@ private:
bool bReplaceExisting, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv )
throw( com::sun::star::uno::Exception );
- void destroy( bool bDeletePhysical ) throw( com::sun::star::uno::Exception );
+ void destroy( bool bDeletePhysical ) throw( com::sun::star::uno::Exception, std::exception );
static void copyData( com::sun::star::uno::Reference< com::sun::star::io::XInputStream > xIn,
com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > xOut );