diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-30 14:09:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-06 06:38:30 +0000 |
commit | 716844c6ab7cfc18efd61b0f77e285d453b6cc29 (patch) | |
tree | 868d93c4bfd99a84c339cb8e00202fe07d8affb2 /sw | |
parent | eff871de05c5efdac0d0397b539b3b5e999672c9 (diff) |
restore loplugin:vclwidget checking for calling clear() on VclPtr fields
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405
Reviewed-on: https://gerrit.libreoffice.org/26806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmresultdialogs.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/envlop1.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/envelp/envprt.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/misc/bookmark.cxx | 1 |
6 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 89768422652a..fe6f35370829 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -622,6 +622,7 @@ void SwStdFontTabPage::dispose() m_pIdxBox.clear(); m_pIndexHeightLB.clear(); m_pStandardPB.clear(); + m_pPrt.clear(); SfxTabPage::dispose(); } diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index ded703083408..66bb81a65e80 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -309,6 +309,7 @@ void SwMMResultPrintDialog::dispose() m_pToFT.clear(); m_pToNF.clear(); m_pOKButton.clear(); + m_pTempPrinter.clear(); SfxModalDialog::dispose(); } @@ -371,6 +372,7 @@ void SwMMResultEmailDialog::dispose() m_pToFT.clear(); m_pToNF.clear(); m_pOKButton.clear(); + m_pSendAsPB.clear(); SfxModalDialog::dispose(); } diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx index 41efae3a3dbd..398de3dab700 100644 --- a/sw/source/ui/envelp/envlop1.cxx +++ b/sw/source/ui/envelp/envlop1.cxx @@ -156,6 +156,7 @@ void SwEnvDlg::dispose() { delete pAddresseeSet; delete pSenderSet; + pPrinter.clear(); SfxTabDialog::dispose(); } diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx index 5ff8a10eeef6..d57ba17eb9ce 100644 --- a/sw/source/ui/envelp/envprt.cxx +++ b/sw/source/ui/envelp/envprt.cxx @@ -80,6 +80,7 @@ void SwEnvPrtPage::dispose() m_pDownField.clear(); m_pPrinterInfo.clear(); m_pPrtSetup.clear(); + pPrt.clear(); SfxTabPage::dispose(); } diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index f1575fedc870..ab412bb3c880 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -581,6 +581,7 @@ void SwColumnPage::dispose() m_pTextDirectionLB.clear(); m_pPgeExampleWN.clear(); m_pFrameExampleWN.clear(); + m_aPercentFieldsMap.clear(); SfxTabPage::dispose(); } diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index 1dd1666465f4..bdbe2c680e79 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -331,6 +331,7 @@ void SwInsertBookmarkDlg::dispose() m_pDeleteBtn.clear(); m_pGotoBtn.clear(); m_pEditBox.clear(); + m_pRenameBtn.clear(); SvxStandardDialog::dispose(); } |