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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdelibs/khtml/xml
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-01-08 19:28:08
[Download RAW message or body]

CVS commit by mueller: 

backport fix for textimpls with null text. amazingly that we didn't thought
of that earlier


  M +2 -3      dom_textimpl.cpp   1.89.2.2


--- kdelibs/khtml/xml/dom_textimpl.cpp  #1.89.2.1:1.89.2.2
@@ -39,6 +39,5 @@ CharacterDataImpl::CharacterDataImpl(Doc
     : NodeImpl(doc)
 {
-    str = _text;
-    if(str)
+    str = _text ? _text : new DOMStringImpl( 0, 0 );
         str->ref();
 }


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

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