summaryrefslogtreecommitdiffstats
path: root/chart2/source/tools/RegressionCurveHelper.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2003-12-17 16:43:20 +0000
committerIngrid Halama <iha@openoffice.org>2003-12-17 16:43:20 +0000
commit08e5e3a6ceece0de806d7ace85f90f449202a5e3 (patch)
tree3feea4ad9a4a630df1222d30563a563d77ec2e0b /chart2/source/tools/RegressionCurveHelper.cxx
parentrename ExponentialRegressionCurve->..Calculator + LogarithmicRegressionCurve ... (diff)
downloadcore-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.cxx8
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;
}