From 62e760e36c2f64dface18b0383ee61fdf7868aa8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 19 Aug 2016 11:03:52 +0100 Subject: coverity#1371439 Uncaught exception Change-Id: I642be9296babf077588eaf4c9da0aa11dc184fa0 --- ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 +- ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') 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, -- cgit