diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 20:55:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 21:06:02 +0100 |
commit | 619d349f4c4e7e5f9f24f0ad3de79824ab67cb12 (patch) | |
tree | 545677c4924b0a716856bb881db08fad2235f2a1 /ucb | |
parent | fe6308ac60fa4d83d7a236ce0d233e0bbaac95bd (diff) |
coverity#1209902 Uncaught exception
Change-Id: Ic2a4b97e7b2d1db4f37a10b9fbd153d025613bd3
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 18d772fa0f63..050f35887314 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -3262,7 +3262,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP Content::ResourceType Content::getResourceType( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw ( uno::Exception ) + throw ( uno::Exception, std::exception ) { SAL_WNODEPRECATED_DECLARATIONS_PUSH std::auto_ptr< DAVResourceAccess > xResAccess; diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 9bb4f7a74180..30bdab1d29ae 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -138,7 +138,7 @@ private: ResourceType getResourceType( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& xEnv ) - throw ( ::com::sun::star::uno::Exception ); + throw ( ::com::sun::star::uno::Exception, std::exception ); SAL_WNODEPRECATED_DECLARATIONS_PUSH ResourceType |