From kde-commits Mon Apr 24 07:41:31 2006 From: Stephan Kulow Date: Mon, 24 Apr 2006 07:41:31 +0000 To: kde-commits Subject: koffice/kchart/kdchart Message-Id: <1145864491.726820.14764.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114586453103094 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