[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kchart/kdchart
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-04-24 7:41:31
Message-ID: 1145864491.726820.14764.nullmailer () svn ! kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic