summaryrefslogtreecommitdiffstats
path: root/src/dom/work/testxpath.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-05-05 21:11:43 +0000
committerishmal <ishmal@users.sourceforge.net>2008-05-05 21:11:43 +0000
commit9772b0e49b0e62e344588f87b3148a30318b42ce (patch)
treea2d67286cb67c664a8bfdf7d4bf305580fef394e /src/dom/work/testxpath.cpp
parentstruct SPCurve => class SPCurve (diff)
downloadinkscape-9772b0e49b0e62e344588f87b3148a30318b42ce.tar.gz
inkscape-9772b0e49b0e62e344588f87b3148a30318b42ce.zip
Bring testing files up-to-date in preparation to test new svg code.
(bzr r5610)
Diffstat (limited to 'src/dom/work/testxpath.cpp')
-rw-r--r--src/dom/work/testxpath.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dom/work/testxpath.cpp b/src/dom/work/testxpath.cpp
index 626176920..1014d4742 100644
--- a/src/dom/work/testxpath.cpp
+++ b/src/dom/work/testxpath.cpp
@@ -10,7 +10,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006 Bob Jamison
+ * Copyright (C) 2006-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -54,9 +54,9 @@ typedef org::w3c::dom::xpath::XPathParser XPathParser;
typedef struct
{
- char *xpathStr;
- char *desc;
- char *xml;
+ const char *xpathStr;
+ const char *desc;
+ const char *xml;
} XpathTest;
XpathTest xpathTests[] =
@@ -1333,7 +1333,7 @@ NULL,
-bool doStringTest(char *str)
+bool doStringTest(const char *str)
{
XPathParser xp;
xp.setDebug(true);