summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-08 22:59:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-08 22:59:33 +0100
commit8d95cf54781e30a7adc0b11160bb17239c4a3d80 (patch)
treef7aa8a09f0fb38706bb8e1786b8698de76f2cd08 /sc/source/ui/StatisticsDialogs
parent6115acca2859432f8dff3c707bc42fd54234e91d (diff)
loplugin:vclwidgets
Change-Id: I7583a76e4d1c98c02bcbf6367a1bf7be815b1461
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/RegressionDialog.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
index b6a5b6dfb46b..ad092eeb03d0 100644
--- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
@@ -85,13 +85,23 @@ ScRegressionDialog::ScRegressionDialog(
}
ScRegressionDialog::~ScRegressionDialog()
-{}
+{
+ disposeOnce();
+}
bool ScRegressionDialog::Close()
{
return DoClose(ScRegressionDialogWrapper::GetChildWindowId());
}
+void ScRegressionDialog::dispose()
+{
+ mpLinearCheckBox.disposeAndClear();
+ mpLogarithmicCheckBox.disposeAndClear();
+ mpPowerCheckBox.disposeAndClear();
+ ScStatisticsTwoVariableDialog::dispose();
+}
+
sal_Int16 ScRegressionDialog::GetUndoNameId()
{
return STR_REGRESSION_UNDO_NAME;