summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartAxesPainter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-26 19:08:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-31 17:15:56 +0900
commite05e9903710ef96c1cfdebd425a1b871935ca3f5 (patch)
treedd153859f1650e24770fdf32be0e4b2eb4d8759c /kchart/kdchart/KDChartAxesPainter.cpp
parent3899caa1b0b15e6d946608f3b49cb50f063826f1 (diff)
downloadkoffice-e05e9903.tar.gz
koffice-e05e9903.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dbc953c5a76adc77d2a58f666dd692ae5b792025)
Diffstat (limited to 'kchart/kdchart/KDChartAxesPainter.cpp')
-rw-r--r--kchart/kdchart/KDChartAxesPainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kchart/kdchart/KDChartAxesPainter.cpp b/kchart/kdchart/KDChartAxesPainter.cpp
index b07195bf5..e3fc93840 100644
--- a/kchart/kdchart/KDChartAxesPainter.cpp
+++ b/kchart/kdchart/KDChartAxesPainter.cpp
@@ -2990,7 +2990,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 )