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
This commit is contained in:
disttsc%bart.nl 2001-03-08 12:33:57 +00:00
parent e2fbec0f07
commit 25a248003c

View File

@ -409,7 +409,7 @@ nsTextInputListener::Blur (nsIDOMEvent* aEvent)
}
mFrame->GetText(&blurValue,PR_FALSE);
if (Compare(mFocusedValue, blurValue))//different fire onchange
if (!mFocusedValue.Equals(blurValue))//different fire onchange
{
mFocusedValue = blurValue;
mFrame->CallOnChange();