summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-19 11:03:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-19 13:00:44 +0100
commit62e760e36c2f64dface18b0383ee61fdf7868aa8 (patch)
treec3a69f16f3604059472d5a7320eadb3fc1363961 /ucb
parentdd8e0a4280feacd3cc81326e53de36b188f798ec (diff)
coverity#1371439 Uncaught exception
Change-Id: I642be9296babf077588eaf4c9da0aa11dc184fa0
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 8f1fcced8e7c..c919f4784d95 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -109,7 +109,7 @@ Content::Content(
ContentProvider* pProvider,
const uno::Reference< ucb::XContentIdentifier >& Identifier,
rtl::Reference< DAVSessionFactory > const & rSessionFactory )
- throw ( ucb::ContentCreationException )
+ throw (ucb::ContentCreationException, css::uno::RuntimeException)
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_eResourceType( UNKNOWN ),
m_eResourceTypeForLocks( UNKNOWN ),
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index bda8566ae26e..1183896dcb1c 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -227,7 +227,7 @@ public:
ContentProvider* pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier,
rtl::Reference< DAVSessionFactory > const & rSessionFactory )
- throw ( css::ucb::ContentCreationException );
+ throw (css::ucb::ContentCreationException, css::uno::RuntimeException);
Content( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier,