summaryrefslogtreecommitdiffstats
path: root/khtml/html/htmlparser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /khtml/html/htmlparser.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/html/htmlparser.cpp')
-rw-r--r--khtml/html/htmlparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/khtml/html/htmlparser.cpp b/khtml/html/htmlparser.cpp
index dd4c4344e..9da99f4b3 100644
--- a/khtml/html/htmlparser.cpp
+++ b/khtml/html/htmlparser.cpp
@@ -239,7 +239,7 @@ void KHTMLParser::parseToken(Token *t)
if(inBody && !skipMode() &&
current->id() != ID_STYLE && current->id() != ID_TITLE &&
current->id() != ID_SCRIPT &&
- !t->text->tqcontainsOnlyWhitespace()) haveContent = true;
+ !t->text->containsOnlyWhitespace()) haveContent = true;
#ifdef PARSER_DEBUG
kdDebug(6035) << "length="<< t->text->l << " text='" << TQConstString(t->text->s, t->text->l).string() << "'" << endl;
#endif
@@ -509,7 +509,7 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat)
{
// Don't try to fit random white-space anywhere
TextImpl *t = static_cast<TextImpl *>(n);
- if (t->tqcontainsOnlyWhitespace())
+ if (t->containsOnlyWhitespace())
return false;
// ignore text inside the following elements.
switch(current->id())
@@ -617,7 +617,7 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat)
break;
case ID_TEXT: {
TextImpl *t = static_cast<TextImpl *>(n);
- if (t->tqcontainsOnlyWhitespace())
+ if (t->containsOnlyWhitespace())
return false;
/* Fall through to default */
}
@@ -1425,7 +1425,7 @@ void KHTMLParser::handleResidualStyleCloseTagAcrossBlocks(HTMLStackElem* elem)
newNode->appendChild(currNode, exceptionCode);
currNode = nextNode;
- // TODO - To be tqreplaced.
+ // TODO - To be replaced.
// Re-register form elements with currently active form, step 1 will have removed them
if (form && currNode && currNode->isGenericFormElement())
{