summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:50 +0200
commitbbc6414be17799b90ef84b1cecab76ee10dede9b (patch)
treee9c2b2b32110f721a76a0893c388a49eca67e3b3 /sc/source/ui/StatisticsDialogs
parentd14b6230ded413be419591b929beed58fc1bbc77 (diff)
loplugin:defaultparams
Change-Id: I9bfa7be4a8035d6dfbd0bd13505ba13c3d085455
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx4
-rw-r--r--sc/source/ui/StatisticsDialogs/SamplingDialog.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index 1a3420650edb..a5e9520e5d36 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -149,8 +149,8 @@ void ScAnalysisOfVarianceDialog::FactorChanged()
{
if (mpSingleFactorRadio->IsChecked())
{
- mpGroupByRowsRadio->Enable(true);
- mpGroupByColumnsRadio->Enable(true);
+ mpGroupByRowsRadio->Enable();
+ mpGroupByColumnsRadio->Enable();
mpRowsPerSampleField->Enable(false);
meFactor = SINGLE_FACTOR;
}
diff --git a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
index 2b3d22426173..ebffefe8323d 100644
--- a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
@@ -329,11 +329,11 @@ void ScSamplingDialog::ToggleSamplingMethod()
if (mpRandomMethodRadio->IsChecked())
{
mpPeriod->Enable(false);
- mpSampleSize->Enable(true);
+ mpSampleSize->Enable();
}
else if (mpPeriodicMethodRadio->IsChecked())
{
- mpPeriod->Enable(true);
+ mpPeriod->Enable();
mpSampleSize->Enable(false);
}
}