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

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/khtml/ecma
From:       Maks Orlovich <maksim () kde ! org>
Date:       2008-06-22 19:57:49
Message-ID: 1214164669.573684.18624.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 823201 by orlovich:

automatically merged revision 823200:
Don't messup Unicode in lazy listeners and any time we call 
jsString on a QString, aka heaven known where else.

BUG:  164280

Some "helper" this was. Well, at least it's sort of Microsoft's fault.

 M  +1 -1      kjs_binding.h  


--- branches/KDE/4.0/kdelibs/khtml/ecma/kjs_binding.h #823200:823201
@@ -339,7 +339,7 @@
   JSValue* getLiveConnectValue(KParts::LiveConnectExtension *lc, const QString & \
name, const int type, const QString & value, int id);  
   // convenience function
-  inline JSCell* jsString(const QString& s) { return \
jsString(s.toLocal8Bit().constData()); } +  inline JSCell* jsString(const QString& s) \
{ return jsString(UString(s)); }  
 // This is used to create pseudo-constructor objects, like Mozillaish
 // Element, HTMLDocument, etc., which do not act like real constructors,


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

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