[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/khtml2/backends/html
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-07-07 19:46:29
Message-ID: 1120765589.425119.20212.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 432547 by buis:

Avoid using Document, use DocumentImpl here.


 M  +2 -2      HTMLParser.cc  


--- trunk/kdenonbeta/khtml2/backends/html/HTMLParser.cc #432546:432547
@@ -44,7 +44,7 @@
 	documentBuilder()->startDocument(url());
 
 	// Initialize our HTMLTokenizer & HTMLParser...
-	m_doc = static_cast<HTMLDocumentImpl *>(KDOM::Parser::document().handle());
+	m_doc = static_cast<HTMLDocumentImpl *>(documentBuilder()->documentImpl());
 
 	m_doc->setParsing(false);
 	m_doc->open();
@@ -60,7 +60,7 @@
 	documentBuilder()->startDocument(url());
 
 	// Initialize our HTMLTokenizer & HTMLParser...
-	m_doc = static_cast<HTMLDocumentImpl *>(KDOM::Parser::document().handle());
+	m_doc = static_cast<HTMLDocumentImpl *>(documentBuilder()->documentImpl());
 
 	m_doc->setParsing(false);
 	m_doc->open();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic