diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:05:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:49:08 +0100 |
commit | 67693ad0d41c5e421045b2ff5f66ce936e05c583 (patch) | |
tree | c92fe78fa90cc9a679798cc957244a4de98808b0 /sc/source/ui/StatisticsDialogs | |
parent | 31c407e35bb57adaba338205b6a40301d28d804f (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.cxx | 2 |
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() ) { |