diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-03-29 15:14:37 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-03-29 15:14:37 (GMT) |
commit | 5a6747ad0418862cafde45837c02a87bfb6b3db3 (patch) | |
tree | e5187694c725e7fb4f9ce8f56510eb4e30c8179b | |
parent | a4d208f1831ecba1d51d3afe9a9e9e21faf8b3cf (diff) | |
download | Qt-5a6747ad0418862cafde45837c02a87bfb6b3db3.zip Qt-5a6747ad0418862cafde45837c02a87bfb6b3db3.tar.gz Qt-5a6747ad0418862cafde45837c02a87bfb6b3db3.tar.bz2 |
Removed unneeded code.
-rw-r--r-- | src/declarative/qml/parser/qdeclarativejs.g | 5 | ||||
-rw-r--r-- | src/declarative/qml/parser/qdeclarativejsparser.cpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/declarative/qml/parser/qdeclarativejs.g b/src/declarative/qml/parser/qdeclarativejs.g index c7524a4..6434d10 100644 --- a/src/declarative/qml/parser/qdeclarativejs.g +++ b/src/declarative/qml/parser/qdeclarativejs.g @@ -654,11 +654,6 @@ case $rule_number: { node = makeAstNode<AST::UiImport>(driver->nodePool(), importIdLiteral->value); node->fileNameToken = loc(2); } else if (AST::UiQualifiedId *qualifiedId = reparseAsQualifiedId(sym(2).Expression)) { - QString text; - for (AST::UiQualifiedId *q = qualifiedId; q; q = q->next) { - text += q->name->asString(); - if (q->next) text += QLatin1String("."); - } node = makeAstNode<AST::UiImport>(driver->nodePool(), qualifiedId); node->fileNameToken = loc(2); } diff --git a/src/declarative/qml/parser/qdeclarativejsparser.cpp b/src/declarative/qml/parser/qdeclarativejsparser.cpp index 2949e88..3cf73b1 100644 --- a/src/declarative/qml/parser/qdeclarativejsparser.cpp +++ b/src/declarative/qml/parser/qdeclarativejsparser.cpp @@ -273,11 +273,6 @@ case 20: { node = makeAstNode<AST::UiImport>(driver->nodePool(), importIdLiteral->value); node->fileNameToken = loc(2); } else if (AST::UiQualifiedId *qualifiedId = reparseAsQualifiedId(sym(2).Expression)) { - QString text; - for (AST::UiQualifiedId *q = qualifiedId; q; q = q->next) { - text += q->name->asString(); - if (q->next) text += QLatin1String("."); - } node = makeAstNode<AST::UiImport>(driver->nodePool(), qualifiedId); node->fileNameToken = loc(2); } |