summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/gpg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:43:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:51:43 +0200
commitd55e9567b5e0f5fa0499ccfabee6b756dff0ad7e (patch)
treeabe7ead5aef1dc721a079d809f987d05b84ea046 /xmlsecurity/source/gpg
parent634844354ee6ed884128086a80c3ee32c889d8c9 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): xmlsecurity
Change-Id: I47c93247b9a34abf4b95966833664e63eb57f133 Reviewed-on: https://gerrit.libreoffice.org/76621 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity/source/gpg')
-rw-r--r--xmlsecurity/source/gpg/CertificateImpl.cxx2
-rw-r--r--xmlsecurity/source/gpg/SEInitializer.cxx2
-rw-r--r--xmlsecurity/source/gpg/XMLSecurityContext.cxx2
-rw-r--r--xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/gpg/CertificateImpl.cxx b/xmlsecurity/source/gpg/CertificateImpl.cxx
index 3e0ba3fe0e25..3b005629ba7a 100644
--- a/xmlsecurity/source/gpg/CertificateImpl.cxx
+++ b/xmlsecurity/source/gpg/CertificateImpl.cxx
@@ -255,7 +255,7 @@ const GpgME::Key* CertificateImpl::getCertificate() const
/* XServiceInfo */
OUString SAL_CALL CertificateImpl::getImplementationName()
{
- return OUString("com.sun.star.xml.security.gpg.XCertificate_GpgImpl");
+ return "com.sun.star.xml.security.gpg.XCertificate_GpgImpl";
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/gpg/SEInitializer.cxx b/xmlsecurity/source/gpg/SEInitializer.cxx
index f11ad59d8ba1..cb502e8c9793 100644
--- a/xmlsecurity/source/gpg/SEInitializer.cxx
+++ b/xmlsecurity/source/gpg/SEInitializer.cxx
@@ -68,7 +68,7 @@ uno::Sequence< OUString > SAL_CALL SEInitializerGpg::getSupportedServiceNames()
OUString SAL_CALL SEInitializerGpg::getImplementationName()
{
- return OUString("com.sun.star.xml.security.SEInitializer_Gpg");
+ return "com.sun.star.xml.security.SEInitializer_Gpg";
}
extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
diff --git a/xmlsecurity/source/gpg/XMLSecurityContext.cxx b/xmlsecurity/source/gpg/XMLSecurityContext.cxx
index 460ed94dbfc7..d27e552829d1 100644
--- a/xmlsecurity/source/gpg/XMLSecurityContext.cxx
+++ b/xmlsecurity/source/gpg/XMLSecurityContext.cxx
@@ -68,7 +68,7 @@ void SAL_CALL XMLSecurityContextGpg::setDefaultSecurityEnvironmentIndex(sal_Int3
/* XServiceInfo */
OUString SAL_CALL XMLSecurityContextGpg::getImplementationName() {
- return OUString("com.sun.star.xml.security.gpg.XMLSecurityContext_GpgImpl");
+ return "com.sun.star.xml.security.gpg.XMLSecurityContext_GpgImpl";
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
index f836eca9cf02..62c188eff244 100644
--- a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
+++ b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
@@ -516,7 +516,7 @@ Sequence< OUString > XMLSignature_GpgImpl::impl_getSupportedServiceNames() {
}
OUString XMLSignature_GpgImpl::impl_getImplementationName() {
- return OUString("com.sun.star.xml.security.bridge.xmlsec.XMLSignature_GpgImpl") ;
+ return "com.sun.star.xml.security.bridge.xmlsec.XMLSignature_GpgImpl" ;
}
//Helper for registry