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@117338 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2002-03-23 21:23:50 +00:00
parent 3074d566e4
commit ca60c05636
18 changed files with 75 additions and 75 deletions

View File

@@ -101,8 +101,8 @@ nsCOMPtr<nsIDOMNode> GetDOMNodeFromDocShell(nsIDocShell *aShell)
}
// generic "retrieve the value of a XUL attribute" function
void GetAttribute(nsIXULWindow* aWindow, const nsAReadableString &anAttribute,
nsAWritableString &outValue)
void GetAttribute(nsIXULWindow* aWindow, const nsAString &anAttribute,
nsAString &outValue)
{
nsCOMPtr<nsIDocShell> shell;
if (aWindow &&
@@ -141,7 +141,7 @@ nsWindowInfo::~nsWindowInfo()
// return true if the window described by this WindowInfo has a type
// equal to the given type
PRBool nsWindowInfo::TypeEquals(nsAReadableString &aType)
PRBool nsWindowInfo::TypeEquals(const nsAString &aType)
{
nsAutoString rtnString;
GetWindowType(mWindow, rtnString);