diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-19 11:04:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-19 13:00:44 +0100 |
commit | a205a1ffade2520314553f1fc7cb529f6fc6e59e (patch) | |
tree | dc6e685448fb5cd2be0213e385fd6886dbf25c6b /ucb | |
parent | 62e760e36c2f64dface18b0383ee61fdf7868aa8 (diff) |
coverity#1371438 Uncaught exception
Change-Id: I83818be02fd7479bf6990dde076aad582a7f8f44
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 |
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 c919f4784d95..bd97cb3059aa 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -144,7 +144,7 @@ Content::Content( const uno::Reference< ucb::XContentIdentifier >& Identifier, rtl::Reference< DAVSessionFactory > const & rSessionFactory, bool isCollection ) - 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 1183896dcb1c..825fe09148bf 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -233,7 +233,7 @@ public: const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier, rtl::Reference< DAVSessionFactory > const & rSessionFactory, bool isCollection ) - throw ( css::ucb::ContentCreationException ); + throw (css::ucb::ContentCreationException, css::uno::RuntimeException); virtual ~Content(); // XInterface |