diff options
author | Ingrid Halama <iha@openoffice.org> | 2003-12-17 16:43:20 +0000 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2003-12-17 16:43:20 +0000 |
commit | 08e5e3a6ceece0de806d7ace85f90f449202a5e3 (patch) | |
tree | 3feea4ad9a4a630df1222d30563a563d77ec2e0b /chart2/source/tools/RegressionCurveHelper.cxx | |
parent | rename ExponentialRegressionCurve->..Calculator + LogarithmicRegressionCurve ... (diff) | |
download | core-08e5e3a6ceece0de806d7ace85f90f449202a5e3.tar.gz core-08e5e3a6ceece0de806d7ace85f90f449202a5e3.zip |
compiler error on windows ( aXValues[i] = ++i )
Diffstat (limited to 'chart2/source/tools/RegressionCurveHelper.cxx')
-rw-r--r-- | chart2/source/tools/RegressionCurveHelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx index 4630191befec..136ddc2bf09b 100644 --- a/chart2/source/tools/RegressionCurveHelper.cxx +++ b/chart2/source/tools/RegressionCurveHelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: RegressionCurveHelper.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: bm $ $Date: 2003-12-17 16:43:15 $ + * last change: $Author: iha $ $Date: 2003-12-17 17:43:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -254,8 +254,8 @@ void RegressionCurveHelper::initializeCurveCalculator( { // initialize with 1, 2, ... aXValues.realloc( aYValues.getLength()); - for( i=0; i<aXValues.getLength(); ) - aXValues[i] = ++i; + for( i=0; i<aXValues.getLength(); ++i ) + aXValues[i] = i+1; bXValuesFound = true; } |