summaryrefslogtreecommitdiffstats
path: root/src/dom/xpathtoken.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-09-05 16:00:09 +0000
committerishmal <ishmal@users.sourceforge.net>2006-09-05 16:00:09 +0000
commit1cf78b0381215b4af2f502a5234812e13e12c43f (patch)
treef14e09446e478143f9562a331eaa82e7efd6c1f4 /src/dom/xpathtoken.cpp
parentcomments for later (diff)
downloadinkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.tar.gz
inkscape-1cf78b0381215b4af2f502a5234812e13e12c43f.zip
Massive update for smart pointers. Rework js dom binding to be smarter. Placeholder for dom binding, finish later.
(bzr r1692)
Diffstat (limited to 'src/dom/xpathtoken.cpp')
-rw-r--r--src/dom/xpathtoken.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dom/xpathtoken.cpp b/src/dom/xpathtoken.cpp
index fa81e2863..ac0ead535 100644
--- a/src/dom/xpathtoken.cpp
+++ b/src/dom/xpathtoken.cpp
@@ -987,7 +987,7 @@ void TokenExecutor::reset()
*/
int TokenExecutor::execute(std::vector<Token> &tokens,
int position,
- const Node *node,
+ const NodePtr node,
NodeList &result)
{
Stack stack(*this);
@@ -1005,7 +1005,7 @@ int TokenExecutor::execute(std::vector<Token> &tokens,
//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)
{
@@ -1032,7 +1032,7 @@ int TokenExecutor::execute(std::vector<Token> &tokens,
* Execute the tokens in a TokenList upon a given node
*/
bool TokenExecutor::execute(TokenList &tokenList,
- const Node *node,
+ const NodePtr node,
NodeList &result)
{