diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-05-10 11:04:06 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-21 10:36:22 (GMT) |
commit | 9fcbca8de0963e2429dc7d25adccbf6a895fa7e8 (patch) | |
tree | a2bf6793a2ba235dcf66e108e6642f3c8cad1492 /src | |
parent | acaad4c6cc36439b3b836992949d287b53574f06 (diff) | |
download | Qt-9fcbca8de0963e2429dc7d25adccbf6a895fa7e8.zip Qt-9fcbca8de0963e2429dc7d25adccbf6a895fa7e8.tar.gz Qt-9fcbca8de0963e2429dc7d25adccbf6a895fa7e8.tar.bz2 |
move QUnicodeTables:: script() and lineBreakClass() implementations
from qchar.cpp to qunicodetables.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/tools/qchar.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/corelib/tools/qchar.cpp b/src/corelib/tools/qchar.cpp index ed0af4e..bb777cd 100644 --- a/src/corelib/tools/qchar.cpp +++ b/src/corelib/tools/qchar.cpp @@ -1630,21 +1630,4 @@ static void canonicalOrderHelper(QString *str, QChar::UnicodeVersion version, in } } -int QT_FASTCALL QUnicodeTables::script(unsigned int uc) -{ - if (uc > 0xffff) - return Common; - int script = uc_scripts[uc >> 7]; - if (script < ScriptSentinel) - return script; - script = (((script - ScriptSentinel) * UnicodeBlockSize) + UnicodeBlockCount); - script = uc_scripts[script + (uc & 0x7f)]; - return script; -} - -Q_CORE_EXPORT QUnicodeTables::LineBreakClass QT_FASTCALL QUnicodeTables::lineBreakClass(uint ucs4) -{ - return (QUnicodeTables::LineBreakClass) qGetProp(ucs4)->line_break_class; -} - QT_END_NAMESPACE |