Tonight I checked in the patches for bug 100476 [0] and bugscape bug 9574 [1], which removed all uses of the nsCString and nsString member functions |ToNewUnicode()|, |ToNewCString()| and |ToNewUTF8String()|. They have been replaced with their global versions in nsReadableUtils.h.
If you currently have code that uses the member functions, the conversion is very simple: A.ToNewUnicode() --> ToNewUnicode(A) A->ToNewUnicode() --> ToNewUnicode(*A) etc. And add a #include "nsReadableUtils.h" if it's not in the file yet. jag [0] http://bugzilla.mozilla.org/show_bug.cgi?id=100476 [1] http://bugscape/show_bug.cgi?id=9574
