summaryrefslogtreecommitdiff
path: root/svl/source/crypto
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:48:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:24 +0200
commit0f1af34528565809affd76d5efa49b254bc26145 (patch)
tree8d3a86250950d8f4c77d4143cff58f82c6a2b23b /svl/source/crypto
parent086ce5c2bb036ca8268f8bcb19099866f8561047 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): svl
Change-Id: I7df3b3c430c0bb8e12eeedc1d0bf11d1f7453f55 Reviewed-on: https://gerrit.libreoffice.org/76642 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl/source/crypto')
-rw-r--r--svl/source/crypto/cryptosign.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 2ace6a9fbee0..c85b5d5870d4 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -358,12 +358,12 @@ OUString PKIStatusToString(int n)
{
switch (n)
{
- case 0: return OUString("granted");
- case 1: return OUString("grantedWithMods");
- case 2: return OUString("rejection");
- case 3: return OUString("waiting");
- case 4: return OUString("revocationWarning");
- case 5: return OUString("revocationNotification");
+ case 0: return "granted";
+ case 1: return "grantedWithMods";
+ case 2: return "rejection";
+ case 3: return "waiting";
+ case 4: return "revocationWarning";
+ case 5: return "revocationNotification";
default: return "unknown (" + OUString::number(n) + ")";
}
}