From 12a59a1f2948274c6a845ab4a0963bab8aff45b8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Feb 2019 12:11:08 +0000 Subject: weld ChineseDictionaryDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and ChineseTranslationDialog Change-Id: I3b754c405c8379fc0c5fa94437cc0464a1dea999 Reviewed-on: https://gerrit.libreoffice.org/67991 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- xmlsecurity/source/dialogs/certificatechooser.cxx | 3 +-- xmlsecurity/source/dialogs/certificateviewer.cxx | 2 +- xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index 4f04f0dcea23..d6a552b7e105 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -210,8 +210,7 @@ void CertificateChooser::ImplInitialize() OUString sIssuer = xmlsec::GetContentPart( xCerts[ nC ]->getIssuerName() ); - m_xCertLB->insert(nullptr, -1, nullptr, nullptr, - nullptr, nullptr, nullptr, false); + m_xCertLB->append(); int nRow = m_xCertLB->n_children() - 1; m_xCertLB->set_text(nRow, xmlsec::GetContentPart(xCerts[nC]->getSubjectName()), 0); m_xCertLB->set_text(nRow, sIssuer, 1); diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index 9f880ce7709d..f48591b7f74a 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -374,7 +374,7 @@ void CertificateViewerCertPathTP::InsertCert(weld::TreeIter* pParent, const OUSt OUString sImage = bValid ? OUStringLiteral(BMP_CERT_OK) : OUStringLiteral(BMP_CERT_NOT_OK); maUserData.emplace_back(std::make_unique(rxCert, bValid)); OUString sId(OUString::number(reinterpret_cast(maUserData.back().get()))); - mxCertPathLB->insert(pParent, -1, &rName, &sId, nullptr, nullptr, &sImage, false); + mxCertPathLB->insert(pParent, -1, &rName, &sId, nullptr, nullptr, &sImage, false, nullptr); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 4cde7de2e3e3..9a3f8bf17de9 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -619,7 +619,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() } m_xSignaturesLB->insert(nullptr, n, nullptr, nullptr, - &sImage, nullptr, nullptr, false); + &sImage, nullptr, nullptr, false, nullptr); m_xSignaturesLB->set_text(n, aSubject, 1); m_xSignaturesLB->set_text(n, aIssuer, 2); m_xSignaturesLB->set_text(n, aDateTimeStr, 3); -- cgit