summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-30 14:09:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-06 06:38:30 +0000
commit716844c6ab7cfc18efd61b0f77e285d453b6cc29 (patch)
tree868d93c4bfd99a84c339cb8e00202fe07d8affb2 /sc
parenteff871de05c5efdac0d0397b539b3b5e999672c9 (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 'sc')
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx1
-rw-r--r--sc/source/ui/docshell/tpstat.cxx1
-rw-r--r--sc/source/ui/miscdlgs/retypepassdlg.cxx1
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx4
5 files changed, 11 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index 47d7fd163afa..81de508a3a82 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -156,6 +156,10 @@ void ScFilterDlg::dispose()
pBtnDestPers.clear();
pFtDbAreaLabel.clear();
pFtDbArea.clear();
+ maValueEdArr.clear();
+ maFieldLbArr.clear();
+ maCondLbArr.clear();
+ maConnLbArr.clear();
ScAnyRefDlg::dispose();
}
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index a32b3615a927..4b3b95e416ce 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -249,6 +249,7 @@ void ScImportOptionsDlg::dispose()
{
delete pFieldSepTab;
delete pTextSepTab;
+ m_pEncGrid.clear();
m_pFieldFrame.clear();
m_pFtCharset.clear();
m_pLbCharset.clear();
diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx
index 2675f2834263..9fc5bf9312c9 100644
--- a/sc/source/ui/docshell/tpstat.cxx
+++ b/sc/source/ui/docshell/tpstat.cxx
@@ -66,6 +66,7 @@ void ScDocStatPage::dispose()
m_pFtTables.clear();
m_pFtCells.clear();
m_pFtPages.clear();
+ m_pFtFormula.clear();
SfxTabPage::dispose();
}
diff --git a/sc/source/ui/miscdlgs/retypepassdlg.cxx b/sc/source/ui/miscdlgs/retypepassdlg.cxx
index 8730f29fc13c..124a4efde3e9 100644
--- a/sc/source/ui/miscdlgs/retypepassdlg.cxx
+++ b/sc/source/ui/miscdlgs/retypepassdlg.cxx
@@ -60,6 +60,7 @@ void ScRetypePassDlg::dispose()
mpTextDocStatus.clear();
mpBtnRetypeDoc.clear();
mpSheetsBox.clear();
+ maSheets.clear();
ModalDialog::dispose();
}
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index a62900cb366f..59422660f961 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -142,6 +142,10 @@ ScCalcOptionsDialog::~ScCalcOptionsDialog()
void ScCalcOptionsDialog::dispose()
{
+ mpEmptyAsZero.clear();
+ mpConversion.clear();
+ mpSyntax.clear();
+ mpCurrentDocOnly.clear();
mpUseOpenCL.clear();
mpSpinButton.clear();
mpEditField.clear();