diff options
author | Rosen <rosen@live.com> | 2016-08-04 07:04:59 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:49:55 +0000 |
commit | 3c9d834af059bf3e9485ab9f0190733aa21dd9a6 (patch) | |
tree | c0611af3b64036d2ec7f393554592e8f52378dcf | |
parent | f5e3b7b0e46dad98dc147bc85fa78248f374e2a9 (diff) |
tdf#100726 Improve readability of OUString concatanations
concat string to easy readability
Change-Id: Ied5db1d74ad6266df558b859074257fd0049ad29
Reviewed-on: https://gerrit.libreoffice.org/27858
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx index 4c975a2d1b1e..109fec4b046c 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx @@ -163,10 +163,7 @@ OUString replaceTagSWithTagST(OUString oldDN) if (pairIndex.first != -1) { - OUString newDN = oldDN.copy(0, pairIndex.first); - newDN += "ST"; - newDN += oldDN.copy(pairIndex.second); - return newDN; + return oldDN.copy(0, pairIndex.first)+"ST"+oldDN.copy(pairIndex.second); } return oldDN; } |