Change implicit conversion from

|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88956 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
disttsc%bart.nl 2001-03-08 10:50:45 +00:00
parent 7f19cefa4d
commit 0c734f3070

View File

@ -414,7 +414,7 @@ char * PromptUserCallback(void *arg, char *prompt, void* clientContext, int isPa
}
if (proxyPrompt) {
rv = proxyPrompt->PromptPassword(nsnull, NS_ConvertASCIItoUCS2(prompt).GetUnicode(),
NS_LITERAL_STRING(" "), // hostname
NS_LITERAL_STRING(" ").get(), // hostname
nsIPrompt::SAVE_PASSWORD_NEVER, &password, &value);
}