[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Aug 25 01:20:58 CEST 2004
CVS commit by arwalker:
Remove obsolete code.
M +0 -18 kst2dplot.cpp 1.250
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.249:1.250
@@ -57,16 +57,4 @@ inline int d2i(double x) {
}
-inline void SafeD2I(double dx, int& x) {
- /* make sure that we can work in integers, which is faster */
- /* we have to covert for p.drawline, so we may as well do it now */
- if (dx > double(INT_MAX)) {
- x = INT_MAX;
- } else if (dx < double(INT_MIN)) {
- x = INT_MIN;
- } else {
- x = int(dx);
- }
-}
-
Kst2DPlot::Kst2DPlot(const QString& in_tag,
KstScaleModeType yscale_in,
@@ -1268,7 +1256,4 @@ void Kst2DPlot::setBorders(double& xleft
}
ybot_bdr_px += 1.3 * dMaxHeight;
- // if (bDelta) {
-// ybot_bdr_px += 1.3 * XTickLabel->lineSpacing(p);
-// }
//
@@ -1279,7 +1264,4 @@ void Kst2DPlot::setBorders(double& xleft
xleft_bdr_px = dMaxWidth;
xleft_bdr_px += 1.5 * YLabel->lineSpacing(p) + 5;
-// if (bDelta) {
-// xleft_bdr_px += 1.3 * YTickLabel->lineSpacing(p);
-// }
//
More information about the Kst
mailing list