diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-14 16:42:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-15 08:38:02 +0200 |
commit | f87fab6310bee5a8df2a95ebc962072bdeb5faff (patch) | |
tree | 1412a98e0105f811ccb2f399e87c3ed2fe4c0d23 /xmlsecurity/source/dialogs/macrosecurity.cxx | |
parent | b52f309f2b9037ee53ab8ac2d66967c012ba82f1 (diff) |
loplugin:sequentialassign in writerfilter..xmlsecurity
Change-Id: I41028c704eca08b71746c3c87e38926b95449775
Reviewed-on: https://gerrit.libreoffice.org/70735
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/dialogs/macrosecurity.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/macrosecurity.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 3e61b21dfa2a..70a9b32d88a8 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -314,10 +314,9 @@ void MacroSecurityTrustedSourcesTP::FillCertLB() for( sal_uInt32 nEntry = 0 ; nEntry < nEntries ; ++nEntry ) { css::uno::Sequence< OUString >& rEntry = m_aTrustedAuthors[ nEntry ]; - uno::Reference< css::security::XCertificate > xCert; // create from RawData - xCert = m_pDlg->m_xSecurityEnvironment->createCertificateFromAscii( rEntry[ 2 ] ); + uno::Reference< css::security::XCertificate > xCert = m_pDlg->m_xSecurityEnvironment->createCertificateFromAscii( rEntry[ 2 ] ); m_xTrustCertLB->append(OUString::number(nEntry), xmlsec::GetContentPart(xCert->getSubjectName())); m_xTrustCertLB->set_text(nEntry, xmlsec::GetContentPart(xCert->getIssuerName()), 1); |