QTextEngine: drop unused leftovers
qIsControlChar() doesn't handle SMP code points, it is outdated and is not used anymore; drop it Change-Id: I934ace1e44eb2652e426fccc579b563d31197fca Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
parent
51998eb4f6
commit
4169e20662
@ -339,14 +339,6 @@ public:
|
||||
QFontEngine *fontEngine;
|
||||
};
|
||||
|
||||
inline bool qIsControlChar(ushort uc)
|
||||
{
|
||||
return uc >= 0x200b && uc <= 0x206f
|
||||
&& (uc <= 0x200f /* ZW Space, ZWNJ, ZWJ, LRM and RLM */
|
||||
|| (uc >= 0x2028 && uc <= 0x202f /* LS, PS, LRE, RLE, PDF, LRO, RLO, NNBSP */)
|
||||
|| uc >= 0x206a /* ISS, ASS, IAFS, AFS, NADS, NODS */);
|
||||
}
|
||||
|
||||
struct Q_AUTOTEST_EXPORT QScriptItem
|
||||
{
|
||||
inline QScriptItem()
|
||||
|
Loading…
Reference in New Issue
Block a user