summaryrefslogtreecommitdiff
path: root/xmlsecurity/workben
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-17 15:27:06 +0000
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-17 15:28:01 +0000
commit182bf2a63acceb435074e84f1237f1852491be94 (patch)
tree66c9e2fce8d19ae8c2801747d86669a85fd91ec8 /xmlsecurity/workben
parentf34881370ac9d9f499e00143ca840ba88021843f (diff)
Revert "fdo#57950: Remove some chained appends in xmlsecurity"
This reverts commit 4f20c9f6f95c117bcdb520682df4fa1429a56477 Change-Id: I4d8cef801d570b0c20e580144e79a5940b100271 Reviewed-on: https://gerrit.libreoffice.org/5476 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Diffstat (limited to 'xmlsecurity/workben')
-rw-r--r--xmlsecurity/workben/signaturetest.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx
index 4d1a6f4397a3..1346ac3673e3 100644
--- a/xmlsecurity/workben/signaturetest.cxx
+++ b/xmlsecurity/workben/signaturetest.cxx
@@ -296,12 +296,13 @@ IMPL_LINK_NOARG(MyWin, VerifyDigitalSignaturesHdl)
for ( int n = 0; n < nInfos; n++ )
{
security::DocumentSignatureInformation& rInf = aInfos[n];
- OUString aText = "The document is signed by\n\n " + rInf.Signer->getSubjectName()
- + "\n\n The signature is ";
+ OUStringBuffer aText( "The document is signed by\n\n " );
+ aText.append( rInf.Signer->getSubjectName() );
+ aText.append( "\n\n The signature is " );
if ( !rInf.SignatureIsValid )
aText.append( "NOT " );
aText.append( "valid" );
- InfoBox( this, aText ).Execute();
+ InfoBox( this, aText.makeStringAndClear() ).Execute();
}
return 0;