From kde-commits Sat Apr 05 15:31:00 2008 From: Harri Porten Date: Sat, 05 Apr 2008 15:31:00 +0000 To: kde-commits Subject: branches/KDE/4.0/kdelibs/khtml/xml Message-Id: <1207409460.499841.25760.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120740946815833 SVN commit 793906 by porten: Removed now obsolete code. Should have done that with my previous commit already. M +0 -13 dom_docimpl.cpp M +0 -1 dom_docimpl.h --- branches/KDE/4.0/kdelibs/khtml/xml/dom_docimpl.cpp #793905:793906 @@ -186,11 +186,6 @@ DOMString() /* systemId */)); } - // now get the interesting parts of the doctype - // ### create new one if not there (currently always there) - if (doc->doctype() && dtype) - doc->doctype()->copyFrom(*dtype); - // the document must be created empty if all parameters are null // (or empty for qName/nsURI as a tolerance) - see DOM 3 Core. if (dtype || !qualifiedName.isEmpty() || !namespaceURI.isEmpty()) { @@ -2936,14 +2931,6 @@ m_notations->deref(); } -void DocumentTypeImpl::copyFrom(const DocumentTypeImpl& other) -{ - m_qualifiedName = other.m_qualifiedName; - m_publicId = other.m_publicId; - m_systemId = other.m_systemId; - m_subset = other.m_subset; -} - DOMString DocumentTypeImpl::toString() const { DOMString result = "