diff options
Diffstat (limited to 'sc/source/core/tool/interpr8.cxx')
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index 8fad91109fbc..a3b77cb14004 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -977,7 +977,7 @@ void ScETSForecastCalculation::GetETSPredictionIntervals( const ScMatrixRef& rTM fMaxTarget = convertXtoMonths( fMaxTarget ) - maRange[ mnCount - 1 ].X; else fMaxTarget -= maRange[ mnCount - 1 ].X; - SCSIZE nSize = ( fMaxTarget / mfStepSize ); + SCSIZE nSize = fMaxTarget / mfStepSize; if ( fmod( fMaxTarget, mfStepSize ) != 0.0 ) nSize++; @@ -1106,7 +1106,7 @@ void ScETSForecastCalculation::GetEDSPredictionIntervals( const ScMatrixRef& rTM fMaxTarget = convertXtoMonths( fMaxTarget ) - maRange[ mnCount - 1 ].X; else fMaxTarget -= maRange[ mnCount - 1 ].X; - SCSIZE nSize = ( fMaxTarget / mfStepSize ); + SCSIZE nSize = fMaxTarget / mfStepSize; if ( fmod( fMaxTarget, mfStepSize ) != 0.0 ) nSize++; |