diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-08-17 01:11:11 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-17 07:48:21 +0000 |
commit | 4f20c9f6f95c117bcdb520682df4fa1429a56477 (patch) | |
tree | f0e1ec5882b9d67a23f99135f91ac86b8f9f832c /xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | |
parent | 523a1c00e1bf4da53daaa0fbaadc670f8b89ea37 (diff) |
fdo#57950: Remove some chained appends in xmlsecurity
Change-Id: If70fa38ad4836b6dacdd0c5577c66b78be6826a6
Reviewed-on: https://gerrit.libreoffice.org/5465
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Diffstat (limited to 'xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 866a0ded89f2..033b026fa46e 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -208,11 +208,8 @@ DigitalSignaturesDialog::DigitalSignaturesDialog( static long aTabs[] = { 4, 0, 6*nControlWidth/100, 36*nControlWidth/100, 74*nControlWidth/100 }; m_pSignaturesLB->SetTabs(aTabs); - OUStringBuffer sHeader; - sHeader.append("\t").append(get<FixedText>("signed")->GetText()) - .append("\t").append(get<FixedText>("issued")->GetText()) - .append("\t").append(get<FixedText>("date")->GetText()); - m_pSignaturesLB->InsertHeaderEntry(sHeader.makeStringAndClear()); + m_pSignaturesLB->InsertHeaderEntry("\t" + get<FixedText>("signed")->GetText() + "\t" + + get<FixedText>("issued")->GetText() + "\t" + get<FixedText>("date")->GetText()); mbVerifySignatures = true; mbSignaturesChanged = false; |