diff options
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qstring.cpp | 5 | ||||
-rw-r--r-- | src/corelib/tools/qstring.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index a04b2f0d02..df95938c41 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -5142,11 +5142,6 @@ QByteArray QString::toLatin1_helper(const QString &string) return qt_convert_to_latin1(string); } -QByteArray QString::toLatin1_helper(const QChar *data, int length) -{ - return qt_convert_to_latin1(QStringView(data, length)); -} - /*! \since 5.10 \internal diff --git a/src/corelib/tools/qstring.h b/src/corelib/tools/qstring.h index 447f000486..f18baf7065 100644 --- a/src/corelib/tools/qstring.h +++ b/src/corelib/tools/qstring.h @@ -878,7 +878,6 @@ private: static QString fromUtf8_helper(const char *str, int size); static QString fromLocal8Bit_helper(const char *, int size); static QByteArray toLatin1_helper(const QString &); - static QByteArray toLatin1_helper(const QChar *data, int size); static QByteArray toLatin1_helper_inplace(QString &); static QByteArray toUtf8_helper(const QString &); static QByteArray toLocal8Bit_helper(const QChar *data, int size); |