summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/expr/qpath.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-05-22 07:11:44 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-05-22 07:11:44 (GMT)
commitfb8e52465c3f6f9ce4535dfaaffe5c5237b8d88a (patch)
tree80f1f44df2da5dcf805752dd984bfe40a2e4a5a5 /src/xmlpatterns/expr/qpath.cpp
parentd98d592503ea4da14b99eca54ef0c62c62bc3172 (diff)
parent728c09141fa578a754e4bf9b6859f242ff519433 (diff)
downloadQt-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.cpp2
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;