diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 13:24:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 14:33:38 +0000 |
commit | 4fd069c41a43e3e0398e9dd44908c157db67c713 (patch) | |
tree | 885c92ccb83dfc9aa81856aa898b620357345887 /ucb | |
parent | 0c039a2595bd741a1a785ba23b436f790e0431df (diff) |
coverity#1103732 Uncaught exception
Change-Id: I3585421107776969efc0888cb581c004cc2aef67
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 71f42a0ca02b..ee45dcdc6d40 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -1071,7 +1071,7 @@ namespace cmis } uno::Sequence< document::CmisVersion> Content::getAllVersions( const uno::Reference< ucb::XCommandEnvironment > & xEnv ) - throw( uno::Exception ) + throw( uno::Exception, std::exception ) { try { diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index d34c03b7cb5b..46f4578624ce 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -121,7 +121,8 @@ private: com::sun::star::uno::Sequence< com::sun::star::document::CmisVersion > getAllVersions( 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_Bool feedSink( com::sun::star::uno::Reference< com::sun::star::uno::XInterface> aSink, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ); |