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

List:       kde-commits
Subject:    branches/work/khtml-svg/html (silent)
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2006-03-22 23:51:42
Message-ID: 1143071502.888492.27616.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 521610 by wildfox:

SVN_SILENT: sync to kdelibs trunk


 M  +2 -2      html_documentimpl.cpp  


--- branches/work/khtml-svg/html/html_documentimpl.cpp #521609:521610
@@ -467,10 +467,10 @@
             // We have to check a list of public IDs to see what we
             // should do.
             QString lowerPubID = publicID.toLower();
-            const char* pubIDStr = qPrintable(lowerPubID);
+            QByteArray pubIDStr = lowerPubID.toLocal8Bit();
 
             // Look up the entry in our gperf-generated table.
-            const PubIDInfo* doctypeEntry = findDoctypeEntry(pubIDStr, publicID.length());
+            const PubIDInfo* doctypeEntry = findDoctypeEntry(pubIDStr.constData(), publicID.length());
             if (!doctypeEntry) {
                 // The DOCTYPE is not in the list.  Assume strict mode.
                 pMode = Strict;
[prev in list] [next in list] [prev in thread] [next in thread] 

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