summaryrefslogtreecommitdiffstats
path: root/kviewshell/units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/units.cpp')
-rw-r--r--kviewshell/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kviewshell/units.cpp b/kviewshell/units.cpp
index 99dc2da9..0e465198 100644
--- a/kviewshell/units.cpp
+++ b/kviewshell/units.cpp
@@ -64,7 +64,7 @@ float distance::convertToMM(const TQString &distance, bool *ok)
// of the unit in 'unitPos', so that distance[0..unitPos] will hold
// the value. Store the number of mm per unit in 'MMperUnit'.
for(int i=0; MMperUnit==0.0 && distanceUnitTable[i].name != 0; i++) {
- unitPos = distance.findRev(distanceUnitTable[i].name);
+ unitPos = distance.tqfindRev(distanceUnitTable[i].name);
if (unitPos != -1)
MMperUnit = distanceUnitTable[i].mmPerUnit;
}