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

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/khtml/xml
From:       Harri Porten <porten () kde ! org>
Date:       2008-04-05 15:31:00
Message-ID: 1207409460.499841.25760.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 = "<!DOCTYPE";
--- branches/KDE/4.0/kdelibs/khtml/xml/dom_docimpl.h #793905:793906
@@ -739,7 +739,6 @@
     void setPublicId(const DOMString& publicId) { m_publicId = publicId; }
     void setSystemId(const DOMString& systemId) { m_systemId = systemId; }
     DOMImplementationImpl *implementation() const { return m_implementation; }
-    void copyFrom(const DocumentTypeImpl&);
 
     virtual DOMString toString() const;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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