summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/expr
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-24 23:55:07 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-26 17:13:52 +0000
commit34cd2d63fc3ce594887f5245896c795ffb8596b5 (patch)
treee196d2aaae2b6cf41ae4360ed6ad3695673eec2f /src/xmlpatterns/expr
parent524c0417cdd1127ca10700f727e6882458e0c581 (diff)
downloadqtxmlpatterns-34cd2d63fc3ce594887f5245896c795ffb8596b5.tar.gz
Replace Q_NULLPTR with nullptr
Change-Id: Iae074eb184283d09528ada65ec2d8d252639720d Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/xmlpatterns/expr')
-rw-r--r--src/xmlpatterns/expr/qexpressionsequence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/expr/qexpressionsequence.cpp b/src/xmlpatterns/expr/qexpressionsequence.cpp
index 193e15f..883757c 100644
--- a/src/xmlpatterns/expr/qexpressionsequence.cpp
+++ b/src/xmlpatterns/expr/qexpressionsequence.cpp
@@ -117,7 +117,7 @@ Expression::Ptr ExpressionSequence::compress(const StaticContext::Ptr &context)
} else if (Id == IDLiteralSequence) {
/* Rewrite "(1, (2, 3), 4)" into "(1, 2, 3, 4)" */
// Note: LiteralSequence does not use the dynamic context, so we pass in a nullptr.
- Item::Iterator::Ptr seqIt = (*it)->evaluateSequence(DynamicContext::Ptr(Q_NULLPTR));
+ Item::Iterator::Ptr seqIt = (*it)->evaluateSequence(DynamicContext::Ptr(nullptr));
while (!seqIt->next().isNull())
result.append(Literal::Ptr(new Literal(seqIt->current())));