diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-08 09:59:25 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-08 10:31:47 +0000 |
commit | 6f20dd1815c633c371aa69ffd696e620b0bc8657 (patch) | |
tree | 3222fd856fe66631b1f4eea40610a5c23150dec6 /xmlsecurity/source/gpg/XMLEncryption.cxx | |
parent | 9b59b3195b2ae26d8af56baa4159f1fec4b15feb (diff) |
gpg4libre: Remove deprecated dynamic exception specifications
Change-Id: I3bec4570149af50fad5eef33bafb9842ab598798
Reviewed-on: https://gerrit.libreoffice.org/34967
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity/source/gpg/XMLEncryption.cxx')
-rw-r--r-- | xmlsecurity/source/gpg/XMLEncryption.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmlsecurity/source/gpg/XMLEncryption.cxx b/xmlsecurity/source/gpg/XMLEncryption.cxx index e40de517fc1b..b01e9fde4434 100644 --- a/xmlsecurity/source/gpg/XMLEncryption.cxx +++ b/xmlsecurity/source/gpg/XMLEncryption.cxx @@ -25,7 +25,6 @@ XMLEncryptionGpg::~XMLEncryptionGpg() { /* XXMLEncryption */ Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::encrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/, const Reference< XSecurityEnvironment >& /*aEnvironment*/) - throw (XMLEncryptionException, SecurityException, RuntimeException, std::exception) { return nullptr; } @@ -33,28 +32,24 @@ Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::encrypt(const Ref /* XXMLEncryption */ Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::decrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/, const Reference< XXMLSecurityContext >& /*aSecurityCtx*/) - throw (XMLEncryptionException, SecurityException, RuntimeException, std::exception) { return nullptr; } /* XServiceInfo */ OUString SAL_CALL XMLEncryptionGpg::getImplementationName() - throw( RuntimeException, std::exception ) { return impl_getImplementationName() ; } /* XServiceInfo */ -sal_Bool SAL_CALL XMLEncryptionGpg::supportsService( const OUString& serviceName) - throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL XMLEncryptionGpg::supportsService(const OUString& serviceName) { return cppu::supportsService(this, serviceName); } /* XServiceInfo */ Sequence< OUString > SAL_CALL XMLEncryptionGpg::getSupportedServiceNames() - throw( RuntimeException, std::exception ) { return impl_getSupportedServiceNames() ; } @@ -66,14 +61,12 @@ Sequence< OUString > XMLEncryptionGpg::impl_getSupportedServiceNames() } OUString XMLEncryptionGpg::impl_getImplementationName() - throw( RuntimeException ) { return OUString("com.sun.star.xml.security.XMLEncryption_Gpg"); } //Helper for registry Reference< XInterface > SAL_CALL XMLEncryptionGpg::impl_createInstance( const Reference< XMultiServiceFactory >& ) - throw( RuntimeException ) { return Reference< XInterface >(*new XMLEncryptionGpg); } |