Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
#include "nscore.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsListControlFrame.h"
|
||||
#include "nsFormControlFrame.h" // for COMPARE macro
|
||||
#include "nsFormControlHelper.h"
|
||||
@@ -708,7 +709,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
} else {
|
||||
text = "No Value";
|
||||
}
|
||||
printf("[%d] - %s\n", i, text.ToNewCString());
|
||||
printf("[%d] - %s\n", i, NS_LossyConvertUCS2toASCII(text).get());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user