SVN commit 533238 by coolo: ordinatePara is tracked for being 0 everywhere else (CID 1249) M +1 -1 KDChartLinesPainter.cpp --- trunk/koffice/kchart/kdchart/KDChartLinesPainter.cpp #533237:533238 @@ -267,7 +267,7 @@ else zeroXAxisI = logHeight / 2.0 + _dataRect.y(); } else - zeroXAxisI = ordinatePara->axisZeroLineStartY() - _dataRect.y(); + zeroXAxisI = ordinatePara ? ordinatePara->axisZeroLineStartY() - _dataRect.y() : 0; // compute how to shift of the points in case we want them in the