aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r--src/qml/jsruntime/qv4string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp
index 3d0328dfcf..1c915914b5 100644
--- a/src/qml/jsruntime/qv4string.cpp
+++ b/src/qml/jsruntime/qv4string.cpp
@@ -285,7 +285,7 @@ uint String::toUInt(bool *ok) const
return stringHash;
// ### this conversion shouldn't be required
- double d = __qmljs_string_to_number(toQString());
+ double d = RuntimeHelpers::stringToNumber(toQString());
uint l = (uint)d;
if (d == l)
return l;