diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 09:21:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:15:58 +0100 |
commit | 1e19c72ff12f1f8bd194a843900820db4f9513f6 (patch) | |
tree | 8505c7d92480fb58e14e6856ed2b1c1fb6d30260 /ucb | |
parent | b01f64852c6b613dcbcd582fa045adf432fb611f (diff) |
coverity#1215316 Uncaught exception
Change-Id: Ifb688e60ef613a3735260f978dd3ae46a95430f5
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index ff1b86c563b3..cfd9abfc2552 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -900,7 +900,8 @@ void Content::removeProperty( const OUString& Name, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw( beans::UnknownPropertyException, beans::NotRemoveableException, - uno::RuntimeException ) + uno::RuntimeException, + std::exception ) { // Try to remove property from server. diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 7e9c851e27d6..5c0d1048dd64 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -218,7 +218,8 @@ private: com::sun::star::ucb::XCommandEnvironment >& Environment ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::NotRemoveableException, - com::sun::star::uno::RuntimeException ); + com::sun::star::uno::RuntimeException, + std::exception ); public: Content( const ::com::sun::star::uno::Reference< |