diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-05-22 07:11:44 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-05-22 07:11:44 (GMT) |
commit | fb8e52465c3f6f9ce4535dfaaffe5c5237b8d88a (patch) | |
tree | 80f1f44df2da5dcf805752dd984bfe40a2e4a5a5 /src/xmlpatterns/expr/qpath.cpp | |
parent | d98d592503ea4da14b99eca54ef0c62c62bc3172 (diff) | |
parent | 728c09141fa578a754e4bf9b6859f242ff519433 (diff) | |
download | Qt-fb8e52465c3f6f9ce4535dfaaffe5c5237b8d88a.zip Qt-fb8e52465c3f6f9ce4535dfaaffe5c5237b8d88a.tar.gz Qt-fb8e52465c3f6f9ce4535dfaaffe5c5237b8d88a.tar.bz2 |
Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/xmlpatterns/expr/qpath.cpp')
-rw-r--r-- | src/xmlpatterns/expr/qpath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/expr/qpath.cpp b/src/xmlpatterns/expr/qpath.cpp index 33bfa0f..a60f622 100644 --- a/src/xmlpatterns/expr/qpath.cpp +++ b/src/xmlpatterns/expr/qpath.cpp @@ -170,7 +170,7 @@ Expression::Ptr Path::compress(const StaticContext::Ptr &context) /* We do this as late as we can, such that we pick up the most recent type * from the operand. */ - if(m_isLast && !m_kind == XSLTForEach && m_operand2->staticType()->itemType() == BuiltinTypes::item) + if(m_isLast && m_kind != XSLTForEach && m_operand2->staticType()->itemType() == BuiltinTypes::item) m_checkXPTY0018 = true; return me; |