summaryrefslogtreecommitdiff
path: root/svl/source/crypto
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-13 14:50:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-14 09:03:47 +0200
commit320555963d69cbe19570a555a476d0ae757fef98 (patch)
tree5bf96036078a0136c8c18519499ff86b33406e12 /svl/source/crypto
parente99991216e47751b80238825aaeb21702d46dc34 (diff)
loplugin:ostr in svl
Change-Id: Idae670a53d6d9aab0ec7132077f3e7b7f6fa5287 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167595 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/crypto')
-rw-r--r--svl/source/crypto/cryptosign.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 3fe6ae90ab34..52f4e4e021b2 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -349,19 +349,19 @@ OUString PKIStatusToString(int n)
{
switch (n)
{
- case 0: return "granted";
- case 1: return "grantedWithMods";
- case 2: return "rejection";
- case 3: return "waiting";
- case 4: return "revocationWarning";
- case 5: return "revocationNotification";
+ case 0: return u"granted"_ustr;
+ case 1: return u"grantedWithMods"_ustr;
+ case 2: return u"rejection"_ustr;
+ case 3: return u"waiting"_ustr;
+ case 4: return u"revocationWarning"_ustr;
+ case 5: return u"revocationNotification"_ustr;
default: return "unknown (" + OUString::number(n) + ")";
}
}
OUString PKIStatusInfoToString(const PKIStatusInfo& rStatusInfo)
{
- OUString result = "{status=";
+ OUString result = u"{status="_ustr;
if (rStatusInfo.status.len == 1)
result += PKIStatusToString(rStatusInfo.status.data[0]);
else