summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/parser/qquerytransformparser.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-11-24 19:37:51 +0100
committerLiang Qi <liang.qi@qt.io>2016-11-24 19:37:51 +0100
commit1433d3461c00ce7c132e8dad22847281d6c13b97 (patch)
tree9973e47af9739c6f5c92d932b19a80d71a9c7450 /src/xmlpatterns/parser/qquerytransformparser.cpp
parent89dbcc4f807015736a8ce3393b857735019d098d (diff)
parent4dc384b7ae2b944d7d7c28c566abe52bce825502 (diff)
downloadqtxmlpatterns-1433d3461c00ce7c132e8dad22847281d6c13b97.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.75.7
Change-Id: I71b83950080f0bd18f2bafbb675816a50fa06a28
Diffstat (limited to 'src/xmlpatterns/parser/qquerytransformparser.cpp')
-rw-r--r--src/xmlpatterns/parser/qquerytransformparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/parser/qquerytransformparser.cpp b/src/xmlpatterns/parser/qquerytransformparser.cpp
index 93c7d15..73a3560 100644
--- a/src/xmlpatterns/parser/qquerytransformparser.cpp
+++ b/src/xmlpatterns/parser/qquerytransformparser.cpp
@@ -1098,7 +1098,7 @@ static Expression::Ptr resolveVariable(const QXmlName &name,
* mechanism must. */
case VariableDeclaration::ExpressionVariable:
{
- retval = create(new ExpressionVariableReference(var->slot, var), sourceLocator, parseInfo);
+ retval = create(new ExpressionVariableReference(var->slot, var.data()), sourceLocator, parseInfo);
break;
}
case VariableDeclaration::FunctionArgument:
@@ -1113,7 +1113,7 @@ static Expression::Ptr resolveVariable(const QXmlName &name,
}
case VariableDeclaration::TemplateParameter:
{
- retval = create(new TemplateParameterReference(var), sourceLocator, parseInfo);
+ retval = create(new TemplateParameterReference(var.data()), sourceLocator, parseInfo);
break;
}
case VariableDeclaration::ExternalVariable: