Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa

This commit is contained in:
dbaron@fas.harvard.edu
2002-03-23 22:26:36 +00:00
parent c32e8a18a4
commit 49ccb8e11d
74 changed files with 191 additions and 191 deletions

View File

@@ -141,13 +141,13 @@ void nsFormControlHelper::PlatformToDOMLineBreaks(nsString &aString)
aString.ReplaceSubstring(NS_LITERAL_STRING("\r").get(), NS_LITERAL_STRING("\n").get());
}
PRBool nsFormControlHelper::GetBool(const nsAReadableString& aValue)
PRBool nsFormControlHelper::GetBool(const nsAString& aValue)
{
return aValue.Equals(NS_STRING_TRUE);
}
void nsFormControlHelper::GetBoolString(const PRBool aValue,
nsAWritableString& aResult)
nsAString& aResult)
{
if (aValue)
aResult.Assign(NS_STRING_TRUE);