diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-30 16:10:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-30 20:03:41 +0000 |
commit | db7f33af1438538bb51b376242294ecd3bfcb055 (patch) | |
tree | 8e5d6139159130326a4eddaa64406224f5bc9816 /xmlsecurity/source | |
parent | 7d8ffcc587dc54764e3fc67b8622b7b0c088297e (diff) |
loplugin:stringadd in various
when applying my upcoming patch to also consider O[U]StringBuffer
Change-Id: I8cf6a47ad357ddc73e2c430d966be72d5efd1485
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149767
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx index 4997a482728e..e1526ea90d54 100644 --- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx @@ -543,8 +543,7 @@ static OUString CompatDNCryptoAPI(std::u16string_view rDN) { if (rDN.size() != i+1 && rDN[i+1] == '"') { - buf.append('\\'); - buf.append(rDN[i+1]); + buf.append(OUString::Concat("\\") + OUStringChar(rDN[i+1])); ++i; } else |