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

git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2002-03-23 22:26:36 +00:00
parent 7e18e96015
commit 4d91361814
74 changed files with 191 additions and 191 deletions

View File

@@ -2197,7 +2197,7 @@ nsListControlFrame::SetDummyFrame(nsIFrame* aFrame)
//---------------------------------------------------------
NS_IMETHODIMP
nsListControlFrame::SetProperty(nsIPresContext* aPresContext, nsIAtom* aName,
const nsAReadableString& aValue)
const nsAString& aValue)
{
if (nsHTMLAtoms::selected == aName) {
return NS_ERROR_INVALID_ARG; // Selected is readonly according to spec.
@@ -2214,7 +2214,7 @@ nsListControlFrame::SetProperty(nsIPresContext* aPresContext, nsIAtom* aName,
//---------------------------------------------------------
NS_IMETHODIMP
nsListControlFrame::GetProperty(nsIAtom* aName, nsAWritableString& aValue)
nsListControlFrame::GetProperty(nsIAtom* aName, nsAString& aValue)
{
// Get the selected value of option from local cache (optimization vs. widget)
if (nsHTMLAtoms::selected == aName) {