Code

Rearrange to enable code that does not directly rely on lcms.
[inkscape.git] / src / dom / xpathtoken.h
index 61d6cf6efb44228fbf64ca402fc98657d68163b4..9039006278981536bb9302f0627bb10a091cef8d 100644 (file)
@@ -384,6 +384,7 @@ private:
         type      = TOK_NOP;
         ival      = 0L;
         dval      = 0.0;
+        //sval      = ""; //not necessary
         }
 
     void assign(const Token &other)
@@ -627,14 +628,14 @@ public:
      */
     int execute(std::vector<Token> &tokens,
                 int position,
-                const Node *node,
+                const NodePtr node,
                 NodeList &nodeList);
 
     /**
      * Execute a token list on the stack
      */
     bool execute(TokenList &list,
-                 const Node *node,
+                 const NodePtr node,
                  NodeList &result);
 
 private: