summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-02 11:22:45 +0200
committerNoel Grandin <noel@peralex.com>2016-03-02 11:23:11 +0200
commite09df5a70a57c06b2be846ca673dcc8b4f003918 (patch)
tree6bfb7a4b5bc257fe18582d1cc4eee25898b13a0a /sc/source/ui/StatisticsDialogs
parentda83d2899ec20a6cd181c7a0d5f465bd11088a5a (diff)
loplugin:unuseddefaultparams in sc (part1)
Change-Id: Ie7c23bfee7cb6c73e455a47801f7eb1b481a8cf0
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx b/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx
index 3594aa7f4372..982249c3553a 100644
--- a/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx
+++ b/sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx
@@ -66,11 +66,10 @@ void FormulaTemplate::applyRange(const OUString& aVariable, const ScRange& aRang
mTemplate = mTemplate.replaceAll(aVariable, aString);
}
-void FormulaTemplate::applyRangeList(const OUString& aVariable, const ScRangeList& aRangeList, bool b3D)
+void FormulaTemplate::applyRangeList(const OUString& aVariable, const ScRangeList& aRangeList)
{
- sal_uInt16 nFlag = b3D ? SCR_ABS_3D : SCR_ABS;
OUString aString;
- aRangeList.Format(aString, nFlag, mpDoc, mpDoc->GetAddressConvention());
+ aRangeList.Format(aString, SCR_ABS_3D, mpDoc, mpDoc->GetAddressConvention());
mTemplate = mTemplate.replaceAll(aVariable, aString);
}