diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 10:44:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 10:46:01 +0100 |
commit | c0a802b59e1edddeb0b621e15137f5058299efd7 (patch) | |
tree | 48203cffcd51d1d2747bb2384608907d73b69670 /xmlsecurity | |
parent | 1c4025babd7037a3292aa530c7d45ab8d6ef6dcb (diff) |
Audit and correct misc. clears -> disposeAndClears.
Anything that used to be 'delete'd should be disposeAndCleared()
in the new world.
Diffstat (limited to 'xmlsecurity')
4 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index f6c8cc9f9bbc..28050b6b5e44 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -86,7 +86,7 @@ CertificateChooser::~CertificateChooser() void CertificateChooser::dispose() { - m_pCertLB.clear(); + m_pCertLB.disposeAndClear(); m_pViewBtn.clear(); m_pOKBtn.clear(); ModalDialog::dispose(); diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index 544e859febe2..5c77f69e2d1d 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -299,8 +299,8 @@ CertificateViewerDetailsTP::~CertificateViewerDetailsTP() void CertificateViewerDetailsTP::dispose() { Clear(); + m_pElementsLB.disposeAndClear(); m_pElementsLBContainer.clear(); - m_pElementsLB.clear(); m_pValueDetails.clear(); CertificateViewerTP::dispose(); } diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 03e9cfc26842..9cfde2bec778 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -240,10 +240,10 @@ DigitalSignaturesDialog::~DigitalSignaturesDialog() void DigitalSignaturesDialog::dispose() { + m_pSignaturesLB.disposeAndClear(); m_pHintDocFT.clear(); m_pHintBasicFT.clear(); m_pHintPackageFT.clear(); - m_pSignaturesLB.clear(); m_pSigsValidImg.clear(); m_pSigsValidFI.clear(); m_pSigsInvalidImg.clear(); diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 9a7a0685215f..6ff60ac94dbd 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -435,7 +435,7 @@ MacroSecurityTrustedSourcesTP::~MacroSecurityTrustedSourcesTP() void MacroSecurityTrustedSourcesTP::dispose() { - m_pTrustCertLB.clear(); + m_pTrustCertLB.disposeAndClear(); m_pTrustCertROFI.clear(); m_pViewCertPB.clear(); m_pRemoveCertPB.clear(); |