summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-01 19:56:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-01 21:23:34 +0200
commit45170005287b7f1c9610684b3d5913a356b0f4e1 (patch)
treeedb06323c3e22b6e49247679222b392be9ce0561 /sc/source/ui/StatisticsDialogs
parent8e50b9ca808e668d1f55d6b2dc517e6221fe1df7 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: sc
Change-Id: Ie2d2d26bac69f4b228eadef712b06b665b3974eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97650 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx6
-rw-r--r--sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index f508b0217b60..23f9659c68c5 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -26,7 +26,7 @@ struct StatisticCalculation {
const char* aResultRangeName;
};
-static StatisticCalculation const lclBasicStatistics[] =
+StatisticCalculation const lclBasicStatistics[] =
{
{ STR_ANOVA_LABEL_GROUPS, nullptr, nullptr },
{ STRID_CALC_COUNT, "=COUNT(%RANGE%)", "COUNT_RANGE" },
@@ -36,7 +36,7 @@ static StatisticCalculation const lclBasicStatistics[] =
{ nullptr, nullptr, nullptr }
};
-static const char* lclAnovaLabels[] =
+const char* lclAnovaLabels[] =
{
STR_ANOVA_LABEL_SOURCE_OF_VARIATION,
STR_ANOVA_LABEL_SS,
@@ -48,7 +48,7 @@ static const char* lclAnovaLabels[] =
nullptr
};
-static const char strWildcardRange[] = "%RANGE%";
+const char strWildcardRange[] = "%RANGE%";
OUString lclCreateMultiParameterFormula(
ScRangeList& aRangeList, const OUString& aFormulaTemplate,
diff --git a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
index 434271d0a3ca..f82b04bdf17a 100644
--- a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
@@ -24,7 +24,7 @@ struct StatisticCalculation {
const char* aFormula;
};
-static const StatisticCalculation lclCalcDefinitions[] =
+const StatisticCalculation lclCalcDefinitions[] =
{
{ STRID_CALC_MEAN, "=AVERAGE(%RANGE%)" },
{ STRID_CALC_STD_ERROR, "=SQRT(VAR(%RANGE%)/COUNT(%RANGE%))"},