diff options
author | Liang Qi <liang.qi@qt.io> | 2018-03-07 09:38:55 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-03-07 08:53:07 +0000 |
commit | 7d1866473946229b249cdf06320978f95b036120 (patch) | |
tree | 1aad9ba9cc2a530e3278c2e4645fa43d5d35d84a /src/qml/parser/qqmljslexer.cpp | |
parent | bf0603fd03ade413036c7dba1ffe0e7ac9364fc9 (diff) |
Remove unused function - convertUnicode()
The usage of it was removed in b555f45c10a050be9410f9dc6286a44753cc7d98.
Change-Id: I3b28f32e1d2f4fbd7c16fb0251888cf10507578f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljslexer.cpp')
-rw-r--r-- | src/qml/parser/qqmljslexer.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/parser/qqmljslexer.cpp b/src/qml/parser/qqmljslexer.cpp index 2414f92e50..53a8d593da 100644 --- a/src/qml/parser/qqmljslexer.cpp +++ b/src/qml/parser/qqmljslexer.cpp @@ -77,12 +77,6 @@ static inline QChar convertHex(QChar c1, QChar c2) return QChar((convertHex(c1.unicode()) << 4) + convertHex(c2.unicode())); } -static inline QChar convertUnicode(QChar c1, QChar c2, QChar c3, QChar c4) -{ - return QChar((convertHex(c3.unicode()) << 4) + convertHex(c4.unicode()), - (convertHex(c1.unicode()) << 4) + convertHex(c2.unicode())); -} - Lexer::Lexer(Engine *engine) : _engine(engine) , _codePtr(nullptr) |