remove unused and internal QString::isSimpleText() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-11-19 02:15:38 +00:00
parent 0e87a02a0b
commit a087eacbc0
2 changed files with 0 additions and 20 deletions

View file

@ -6459,25 +6459,6 @@ QString QString::multiArg(int numArgs, const QString **args) const
return result;
}
/*! \fn bool QString::isSimpleText() const
\internal
*/
bool QString::isSimpleText() const
{
ushort *p = d->data;
ushort *end = p + d->size;
while (p < end) {
ushort uc = *p;
// sort out regions of complex text formatting
if (uc > 0x058f && (uc < 0x1100 || uc > 0xfb0f)) {
return false;
}
p++;
}
return true;
}
/*! \fn bool QString::isRightToLeft() const
Returns true if the string is read right to left.

View file

@ -470,7 +470,6 @@ public:
inline QStdWString toStdWString() const;
#endif // QT_NO_STL_WCHAR
bool isSimpleText() const;
bool isRightToLeft() const;
QString(int size, Qt::Initialization);