Remove unused QString::toLatin1_helper overload
Commit 5dc1e08c8c changed
QString::toLocal8Bit_helper to use qt_convert_to_latin1 so it became
unused. It was never used in inline functions in the headers.
Change-Id: I6efb28c3145047559ec0fffd15382f9d08efdfeb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
bb10
parent
a85fe46753
commit
4bf45691b5
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue