summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/search.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
index 90cc9a10..dabf1d7e 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
@@ -1334,16 +1334,16 @@ searchLocalNode(xmlNodePtr variable)
xmlNodePtr node = NULL;
int result = 1;
xmlChar *value;
- xmlNodePtr tqparent;
+ xmlNodePtr parent;
if (variable) {
node = searchGlobalNode(variable);
if (node) {
/* if unable to create any property failed then result will be equal to 0 */
- tqparent = variable->parent;
+ parent = variable->parent;
/* try to find out what template this variable belongs to */
- if (tqparent && IS_XSLT_NAME(tqparent, "template")) {
- value = xmlGetProp(tqparent, (xmlChar *) "name");
+ if (parent && IS_XSLT_NAME(parent, "template")) {
+ value = xmlGetProp(parent, (xmlChar *) "name");
if (value) {
result = result
&&
@@ -1351,7 +1351,7 @@ searchLocalNode(xmlNodePtr variable)
!= NULL);
xmlFree(value);
}
- value = xmlGetProp(tqparent, (xmlChar *) "match");
+ value = xmlGetProp(parent, (xmlChar *) "match");
if (value) {
result = result
&&
@@ -1398,7 +1398,7 @@ searchSourceNode(xsltStylesheetPtr style)
!= NULL);
if (style->parent && style->parent->doc) {
result = result &&
- (xmlNewProp(node, (xmlChar *) "tqparent",
+ (xmlNewProp(node, (xmlChar *) "parent",
style->parent->doc->URL) != NULL);
}
if (result) {