From 46c2a3688c9ee7f558f75cbe856c26c4b8849b7e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Sep 2019 15:12:52 +0200 Subject: loplugin:stringadd n sfx2..svl Change-Id: Iaf1bbe37449d4e0cfa817909d56d4bffe1e5a184 Reviewed-on: https://gerrit.libreoffice.org/79893 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svl/source/crypto/cryptosign.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'svl/source/crypto/cryptosign.cxx') diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index c85b5d5870d4..4f6d757183ef 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -370,9 +370,7 @@ OUString PKIStatusToString(int n) OUString PKIStatusInfoToString(const PKIStatusInfo& rStatusInfo) { - OUString result; - - result += "{status="; + OUString result = "{status="; if (rStatusInfo.status.len == 1) result += PKIStatusToString(rStatusInfo.status.data[0]); else -- cgit