diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 09:08:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 10:37:11 +0100 |
commit | f4a760025bede298ae33e01f785fb7b439ec9812 (patch) | |
tree | cb97f8fdf24a6174d5a555ee0f02a67c3567517f /xmlsecurity | |
parent | 8821c0698c2af9870cce6c280d58cfcdfd7af0d2 (diff) |
coverity#707489 Uncaught exception
Change-Id: Ia15d9c6761b1b7990586b766a4f8c385c04edc0a
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx | 5 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx index aaa6f27656f4..7d423509ade9 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx @@ -54,8 +54,9 @@ Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryption_NssImpl :: encrypt( const Reference< XXMLEncryptionTemplate >& aTemplate , const Reference< XSecurityEnvironment >& aEnvironment -) throw( com::sun::star::xml::crypto::XMLEncryptionException, - com::sun::star::uno::SecurityException, std::exception ) +) throw (com::sun::star::xml::crypto::XMLEncryptionException, + com::sun::star::uno::SecurityException, + com::sun::star::uno::RuntimeException, std::exception) { xmlSecKeysMngrPtr pMngr = NULL ; xmlSecEncCtxPtr pEncCtx = NULL ; diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx index 9f2e8adcd1bf..036a7259609f 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx @@ -50,8 +50,9 @@ class XMLEncryption_NssImpl : public ::cppu::WeakImplHelper2< const ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XXMLEncryptionTemplate >& aTemplate , const ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XSecurityEnvironment >& aEnvironment) // ) throw( ::com::sun::star::uno::Exception , ::com::sun::star::uno::RuntimeException ) ; - throw ( com::sun::star::xml::crypto::XMLEncryptionException , - com::sun::star::uno::SecurityException, std::exception) SAL_OVERRIDE; + throw (com::sun::star::xml::crypto::XMLEncryptionException , + com::sun::star::uno::SecurityException, + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XXMLEncryptionTemplate > SAL_CALL decrypt( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XXMLEncryptionTemplate >& aTemplate , |