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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Maks Orlovich <maksim () kde ! org>
Date:       2006-03-12 14:35:32
Message-ID: 1142174132.371633.9720.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 517900 by orlovich:

Quick fix #123433. Ivor has a better fix than this code, but IMHO it's too 
intrusive this close to 3.5.2 release.
BUG:123433


 M  +1 -1      htmlparser.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/htmlparser.cpp #517899:517900
@@ -1393,7 +1393,7 @@
         // Re-register form elements with currently active form, step 1 will have removed them
         if (form)
         {
-            HTMLGenericFormElementImpl *e = static_cast<HTMLGenericFormElementImpl *>(currNode);
+            HTMLGenericFormElementImpl *e = dynamic_cast<HTMLGenericFormElementImpl *>(currNode);
             if (e)
                 form->registerFormElement(e);
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

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