mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
remove unused and internal QString::isSimpleText() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
0e87a02a0b
commit
a087eacbc0
2 changed files with 0 additions and 20 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue