diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 16:33:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 20:37:33 +0100 |
commit | 40507db2c27bdfffcb25501af88e6d98dcbac96f (patch) | |
tree | fc2cffb6a3a19bcf3a10d3d2098195789e66700c /ucb | |
parent | c6f72b6a7ca7d64bd9386b0459ceccea1230bfe6 (diff) |
coverity#1213513 Uncaught exception
Change-Id: I04a05773891d680100ee1551eac21e203477935b
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 80c60a6c5fc7..6a3df78088b7 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -1137,7 +1137,7 @@ namespace cmis void Content::insert( const uno::Reference< io::XInputStream > & xInputStream, bool bReplaceExisting, const OUString& rMimeType, const uno::Reference< ucb::XCommandEnvironment >& xEnv ) - throw( uno::Exception ) + throw (uno::Exception, std::exception) { if ( !xInputStream.is() ) { diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index f7430bdcf0f1..77da48ef1165 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -96,7 +96,7 @@ private: void insert( const com::sun::star::uno::Reference< com::sun::star::io::XInputStream > & xInputStream, bool bReplaceExisting, const OUString & rMimeType, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv ) - throw( com::sun::star::uno::Exception ); + throw (css::uno::Exception, std::exception); OUString checkIn( const com::sun::star::ucb::CheckinArgument& rArg, const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ) |