summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:10:57 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:21:53 +0200
commit9b7eda2b4c4ef88967f156450e8bf1fb7ca1669a (patch)
tree1cb55f9b3cf9dd40357ddb479b3edd7f6fda242b /sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
parent33fe6b93114964c7578f34df28211d846966a5a4 (diff)
loplugin: defaultparams
Change-Id: Ibf8328d5000d82d09d5621d3701039bcbdb49407
Diffstat (limited to 'sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx')
-rw-r--r--sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index 6a7467d16fb7..ddd48bdcfc19 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -110,7 +110,7 @@ ScAnalysisOfVarianceDialog::ScAnalysisOfVarianceDialog(
mpSingleFactorRadio->SetToggleHdl( LINK( this, ScAnalysisOfVarianceDialog, FactorChanged ) );
mpTwoFactorRadio->SetToggleHdl( LINK( this, ScAnalysisOfVarianceDialog, FactorChanged ) );
- mpSingleFactorRadio->Check(true);
+ mpSingleFactorRadio->Check();
mpTwoFactorRadio->Check(false);
FactorChanged(NULL);
@@ -525,7 +525,7 @@ void ScAnalysisOfVarianceDialog::AnovaTwoFactor(AddressWalkerWriter& output, For
// Degree of freedom
aTemplate.setTemplate("=%TOTAL_DF% - %ROW_DF% - %COLUMN_DF%");
- aTemplate.applyAddress("%TOTAL_DF%", output.current(0,1,0));
+ aTemplate.applyAddress("%TOTAL_DF%", output.current(0,1));
aTemplate.autoReplaceAddress("%ERROR_DF%", output.current());
output.writeFormula(aTemplate.getTemplate());
output.nextColumn();