diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 09:57:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 13:19:04 +0200 |
commit | 664de5a816bdcb68ada087f99ef5a76139890fdf (patch) | |
tree | 30dca6260b95bf402930be3eb33766923182b1c1 /xmlsecurity | |
parent | f88160d640b3efe4ffdf8126795a56d25d83944d (diff) |
loplugin:stringconstant (clang-cl)
Change-Id: Id1a82cea4444255fdb693e126b7571a406094624
Reviewed-on: https://gerrit.libreoffice.org/79916
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity')
5 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx index 20b7ba4dac9f..565f372a5219 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -155,7 +155,7 @@ SecurityEnvironment_MSCryptImpl::~SecurityEnvironment_MSCryptImpl() { /* XServiceInfo */ OUString SAL_CALL SecurityEnvironment_MSCryptImpl::getImplementationName() { - return OUString("com.sun.star.xml.crypto.SecurityEnvironment"); + return "com.sun.star.xml.crypto.SecurityEnvironment"; } /* XServiceInfo */ @@ -990,7 +990,7 @@ static X509Certificate_MSCryptImpl* MswcryCertContextToXCert( PCCERT_CONTEXT cer OUString SecurityEnvironment_MSCryptImpl::getSecurityEnvironmentInformation() { - return OUString("Microsoft Crypto API"); + return "Microsoft Crypto API"; } xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() { diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx index ac5d6a3b0a3e..cceedb869ba2 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx @@ -150,7 +150,7 @@ void SAL_CALL SEInitializer_MSCryptImpl::freeSecurityContext( const uno::Referen /* XServiceInfo */ OUString SAL_CALL SEInitializer_MSCryptImpl::getImplementationName() { - return OUString("com.sun.star.xml.crypto.SEInitializer"); + return "com.sun.star.xml.crypto.SEInitializer"; } sal_Bool SAL_CALL SEInitializer_MSCryptImpl::supportsService( const OUString& rServiceName ) diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx index 8f161d3df2c0..0e619b2802f8 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx @@ -634,7 +634,7 @@ sal_Int32 SAL_CALL X509Certificate_MSCryptImpl::getCertificateUsage( ) /* XServiceInfo */ OUString SAL_CALL X509Certificate_MSCryptImpl::getImplementationName() { - return OUString("com.sun.star.xml.security.gpg.XCertificate_MsCryptImpl"); + return "com.sun.star.xml.security.gpg.XCertificate_MsCryptImpl"; } /* XServiceInfo */ diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx index 85fc50e547d5..91dbbc32b6c5 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx @@ -126,7 +126,7 @@ void SAL_CALL XMLSecurityContext_MSCryptImpl::setDefaultSecurityEnvironmentIndex /* XServiceInfo */ OUString SAL_CALL XMLSecurityContext_MSCryptImpl::getImplementationName() { - return OUString("com.sun.star.xml.crypto.XMLSecurityContext") ; + return "com.sun.star.xml.crypto.XMLSecurityContext" ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx index 485c7701be6d..a0acd81786d7 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx @@ -277,7 +277,7 @@ SAL_CALL XMLSignature_MSCryptImpl::validate( /* XServiceInfo */ OUString SAL_CALL XMLSignature_MSCryptImpl::getImplementationName() { - return OUString("com.sun.star.xml.crypto.XMLSignature"); + return "com.sun.star.xml.crypto.XMLSignature"; } /* XServiceInfo */ |