diff --git a/src/dom/xpathtoken.cpp b/src/dom/xpathtoken.cpp
index fa81e2863a6eb13a723435251d5c80b93842b3db..ac0ead535c86b1e5ec6468e3811e018303ef30b7 100644 (file)
--- a/src/dom/xpathtoken.cpp
+++ b/src/dom/xpathtoken.cpp
*/
int TokenExecutor::execute(std::vector<Token> &tokens,
int position,
- const Node *node,
+ const NodePtr node,
NodeList &result)
{
Stack stack(*this);
//Do rest of tokens with the nodes we have found so far
for (unsigned int i = 0 ; i<contextNodes.getLength() ; i++)
{
- Node *contextNode = contextNodes.item(i);
+ NodePtr contextNode = contextNodes.item(i);
pos2 = execute(tokens, position, contextNode, result);
if (pos2 < 0)
{
* Execute the tokens in a TokenList upon a given node
*/
bool TokenExecutor::execute(TokenList &tokenList,
- const Node *node,
+ const NodePtr node,
NodeList &result)
{