xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 3c9d834af059bf3e9485ab9f0190733aa21dd9a6
Author: Rosen <[email protected]>
Date:   Thu Aug 4 07:04:59 2016 +0530

    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 <[email protected]>
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx 
b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
index 4c975a2..109fec4 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;
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to