summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 14:05:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:49:08 +0100
commit67693ad0d41c5e421045b2ff5f66ce936e05c583 (patch)
treec92fe78fa90cc9a679798cc957244a4de98808b0 /sc/source/ui/StatisticsDialogs
parent31c407e35bb57adaba338205b6a40301d28d804f (diff)
coverity#1130190 'Constant' variable guards dead code
Change-Id: Ifc462622919c8247c1f4ff8304f3107a23ef1c49
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-rw-r--r--sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
index 7a76c2fc9095..4a43e79ea8b3 100644
--- a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
@@ -62,7 +62,7 @@ ScRange ScMovingAverageDialog::ApplyOutput(ScDocShell* pDocShell)
pIterator.reset(new DataRangeByRowIterator(mInputRange));
sal_Int32 aIntervalSize = mpIntervalSpin->GetValue();
- bool aCentral = true;
+ const bool aCentral = true; //to-do add support to change this to the dialog
for( ; pIterator->hasNext(); pIterator->next() )
{