summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/tag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parsers/tag.cpp')
-rw-r--r--quanta/parsers/tag.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/parsers/tag.cpp b/quanta/parsers/tag.cpp
index f6460fce..a2dbcf71 100644
--- a/quanta/parsers/tag.cpp
+++ b/quanta/parsers/tag.cpp
@@ -328,7 +328,7 @@ void Tag::parse(const TQString &p_tagStr, Document *p_write)
{
newTag = new TQTag();
newTag->setName(name);
- newTag->tqparentDTD = m_dtd;
+ newTag->parentDTD = m_dtd;
}
for (int i = 0; i >attrCount(); i++)
{
@@ -574,7 +574,7 @@ void Tag::modifyAttributes(TQDict<TQString> *attrDict)
{
attribute = it.currentKey();
value = *(it.current());
- if (qTag && qTag->tqparentDTD->singleTagStyle == "xml" && attribute=="/")
+ if (qTag && qTag->parentDTD->singleTagStyle == "xml" && attribute=="/")
{
++it;
continue;
@@ -622,7 +622,7 @@ TQString Tag::toString()
attrString.append(QuantaCommon::tagCase(name));
tagString.prepend(attrString);
- if (attrs.isEmpty() && qTag && qTag->tqparentDTD->singleTagStyle == "xml" &&
+ if (attrs.isEmpty() && qTag && qTag->parentDTD->singleTagStyle == "xml" &&
(qTag->isSingle() ||
(!qConfig.closeOptionalTags && qTag->isOptional()) || single)
)