summaryrefslogtreecommitdiffstats
path: root/freebsd/tdeedu/files/patch-bp001-fix-ftbfs-on-c++11.diff
blob: b8fd2134273f30bf4a600e23ee618c0b144275e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/kmplot/kmplot/xparser.cpp b/kmplot/kmplot/xparser.cpp
index acf7ecdb..4ab4300f 100644
--- a/kmplot/kmplot/xparser.cpp
+++ b/kmplot/kmplot/xparser.cpp
@@ -521,7 +521,7 @@ TQString XParser::functionMinValue(uint id)
 {
   int const ix = ixValue(id);
   if (ix==-1)
-    return int();
+    return TQString();
   return ufkt[ix].str_dmin;
 }
 
@@ -539,7 +539,7 @@ TQString XParser::functionMaxValue(uint id)
 {
   int const ix = ixValue(id);
   if (ix==-1)
-    return int();
+    return TQString();
   return ufkt[ix].str_dmax;
 }
 
@@ -557,7 +557,7 @@ TQString XParser::functionStartXValue(uint id)
 {
   int const ix = ixValue(id);
   if (ix==-1)
-    return int();
+    return TQString();
   return ufkt[ix].str_startx;
 }
 
@@ -575,7 +575,7 @@ TQString XParser::functionStartYValue(uint id)
 {
   int const ix = ixValue(id);
   if (ix==-1)
-    return int();
+    return TQString();
   return ufkt[ix].str_starty;
 }