diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 12:28:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 13:03:49 +0100 |
commit | 68f383eac5cde1cd1e8d3f5ed61e65f3c98507d8 (patch) | |
tree | 0cf1365f53c6fa7d4cbe79661bdb46ed0342cf96 /ucb | |
parent | 87bbc7f9b20ed751f082cc56c424e3059964d972 (diff) |
coverity#983991 Uncaught exception
Change-Id: Ic3bfd8b137f750b84ee584b74ad4fba6fc6220e4
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 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 6a3df78088b7..06dc1ee7bf15 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -367,7 +367,7 @@ namespace cmis } - libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw ( libcmis::Exception ) + libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, libcmis::Exception) { // can't get the session for some reason // the recent file openning at start up is an example. diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 77da48ef1165..99f3dbac6b1b 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -205,7 +205,7 @@ public: virtual std::list< com::sun::star::uno::Reference< com::sun::star::ucb::XContent > > getChildren( ) SAL_OVERRIDE; - libcmis::ObjectPtr getObject( const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) throw ( libcmis::Exception ); + libcmis::ObjectPtr getObject( const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, libcmis::Exception); }; } |