diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-27 13:41:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-31 17:20:08 +0900 |
commit | f9aa594c5e3199f3fb5608c55ce48a2909b882c5 (patch) | |
tree | 34cbde541accf68836c65d5c7f06986486c08f5b | |
parent | c622965761f8940197e46703484b07db294bc34c (diff) | |
download | kmymoney-f9aa594c5e3199f3fb5608c55ce48a2909b882c5.tar.gz kmymoney-f9aa594c5e3199f3fb5608c55ce48a2909b882c5.zip |
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | libkdchart/KDChartAxesPainter.cpp | 2 | ||||
-rw-r--r-- | libkdchart/KDChartParams.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libkdchart/KDChartAxesPainter.cpp b/libkdchart/KDChartAxesPainter.cpp index 5a169f0..a8a9c2a 100644 --- a/libkdchart/KDChartAxesPainter.cpp +++ b/libkdchart/KDChartAxesPainter.cpp @@ -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 ) diff --git a/libkdchart/KDChartParams.h b/libkdchart/KDChartParams.h index 0994e19..9e4a0db 100644 --- a/libkdchart/KDChartParams.h +++ b/libkdchart/KDChartParams.h @@ -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 ) ) |