diff options
Diffstat (limited to 'quanta/parsers/saparser.cpp')
-rw-r--r-- | quanta/parsers/saparser.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/parsers/saparser.cpp b/quanta/parsers/saparser.cpp index aa9bbd55..1dab9ccc 100644 --- a/quanta/parsers/saparser.cpp +++ b/quanta/parsers/saparser.cpp @@ -363,7 +363,7 @@ bool SAParser::slotParseOneLine() tag->single = true; //at this point s_parentNode = the opening node of the special area (eg. <?) //and it should always exist - Node *node = new Node(s_parentNode->tqparent); + Node *node = new Node(s_parentNode->parent); nodeNum++; s_parentNode->next = node; node->prev = s_parentNode; @@ -575,13 +575,13 @@ bool SAParser::slotParseOneLine() node->tag = tag; node->insideSpecial = true; node->specialInsideXml = m_specialInsideXml; - if (s_currentNode && s_currentNode != node->tqparent) + if (s_currentNode && s_currentNode != node->parent) { s_currentNode->next = node; node->prev = s_currentNode; } else - if (node->tqparent && !node->tqparent->child) - node->tqparent->child = node; + if (node->parent && !node->parent->child) + node->parent->child = node; s_currentNode = node; } s_previousContext = s_contextStack.pop(); @@ -657,8 +657,8 @@ Node* SAParser::parseArea(const AreaStruct &specialArea, if (s_parentNode && !areaStartString.isEmpty()) { const DTDStruct *parentDTD = m_dtd; - if (s_parentNode->tqparent) - parentDTD = s_parentNode->tqparent->tag->dtd(); + if (s_parentNode->parent) + parentDTD = s_parentNode->parent->tag->dtd(); s_dtd = DTDs::ref()->find(parentDTD->specialAreaNames[areaStartString]); s_areaEndString = parentDTD->specialAreas[areaStartString]; s_searchForAreaEnd = true; |