diff options
Diffstat (limited to 'src/corelib/text/qlocale.cpp')
-rw-r--r-- | src/corelib/text/qlocale.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp index 430991b83b..159cbc0944 100644 --- a/src/corelib/text/qlocale.cpp +++ b/src/corelib/text/qlocale.cpp @@ -3896,18 +3896,6 @@ qulonglong QLocaleData::stringToUnsLongLong(QStringView str, int base, bool *ok, return bytearrayToUnsLongLong(buff.constData(), base, ok); } -double QLocaleData::bytearrayToDouble(const char *num, bool *ok) -{ - bool nonNullOk = false; - int len = static_cast<int>(strlen(num)); - Q_ASSERT(len >= 0); - int processed = 0; - double d = qt_asciiToDouble(num, len, nonNullOk, processed); - if (ok != nullptr) - *ok = nonNullOk; - return d; -} - qlonglong QLocaleData::bytearrayToLongLong(const char *num, int base, bool *ok) { bool _ok; |