Kaydet (Commit) 8d95cf54 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:vclwidgets

Change-Id: I7583a76e4d1c98c02bcbf6367a1bf7be815b1461
üst 6115acca
...@@ -85,13 +85,23 @@ ScRegressionDialog::ScRegressionDialog( ...@@ -85,13 +85,23 @@ ScRegressionDialog::ScRegressionDialog(
} }
ScRegressionDialog::~ScRegressionDialog() ScRegressionDialog::~ScRegressionDialog()
{} {
disposeOnce();
}
bool ScRegressionDialog::Close() bool ScRegressionDialog::Close()
{ {
return DoClose(ScRegressionDialogWrapper::GetChildWindowId()); return DoClose(ScRegressionDialogWrapper::GetChildWindowId());
} }
void ScRegressionDialog::dispose()
{
mpLinearCheckBox.disposeAndClear();
mpLogarithmicCheckBox.disposeAndClear();
mpPowerCheckBox.disposeAndClear();
ScStatisticsTwoVariableDialog::dispose();
}
sal_Int16 ScRegressionDialog::GetUndoNameId() sal_Int16 ScRegressionDialog::GetUndoNameId()
{ {
return STR_REGRESSION_UNDO_NAME; return STR_REGRESSION_UNDO_NAME;
......
...@@ -29,6 +29,7 @@ public: ...@@ -29,6 +29,7 @@ public:
virtual bool Close() override; virtual bool Close() override;
protected: protected:
void dispose() override;
virtual sal_Int16 GetUndoNameId() override; virtual sal_Int16 GetUndoNameId() override;
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment