Drop Borland compiler specific code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/35/head
Michele Calgaro 1 month ago
parent c622965761
commit f9aa594c5e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -2995,7 +2995,7 @@ void KDChartAxesPainter::calculateLabelTexts(
nHigh = log10( TQABS( nHigh ) );
//tqDebug("[L-0] nLow: %f, nHigh: %f", nLow, nHigh );
double intPart=0.0; // initialization necessary for Borland C++
double intPart;
double fractPart = modf( nLow, &intPart );
//tqDebug(" intPart: %f\nfractPart: %f", intPart, fractPart );
if( 0.0 > nLow && 0.0 != fractPart )

@ -702,7 +702,7 @@ public slots:
static int roundVal( double d )
{
double fr;
double i=0.0; // initialization necessary for Borland C++
double i;
fr = modf( d, &i );
int ret = static_cast < int > ( i );
if( 0.49999 <= fabs( fr ) )

Loading…
Cancel
Save