diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-05-20 10:59:41 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-05-20 11:01:28 (GMT) |
commit | 25f86fbab2e7d23832b0bb8ae8530289258e2aa5 (patch) | |
tree | 289f23232e114978823b747cfb3264aa6b91ab42 /src | |
parent | b7e01ff7d994d704cbcd876a77bf32cbdf66c17b (diff) | |
download | Qt-25f86fbab2e7d23832b0bb8ae8530289258e2aa5.zip Qt-25f86fbab2e7d23832b0bb8ae8530289258e2aa5.tar.gz Qt-25f86fbab2e7d23832b0bb8ae8530289258e2aa5.tar.bz2 |
Silence warning by MSVC.
Reviewed-By: TrustMe
Diffstat (limited to 'src')
-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; |