Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|.

git-svn-id: svn://10.0.0.236/trunk@98294 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2001-06-29 18:28:39 +00:00
parent 4a8fd01633
commit 73f263f784
3 changed files with 3 additions and 3 deletions

View File

@@ -1866,7 +1866,7 @@ nsDocShell::FindChildWithName(const PRUnichar * aName,
continue;
child->GetName(getter_Copies(childName));
if (name.EqualsWithConversion(childName)) {
if (name.Equals(childName)) {
*_retval = child;
NS_ADDREF(*_retval);
break;

View File

@@ -2040,7 +2040,7 @@ nsBrowserWindow::FindWebShellWithName(const PRUnichar* aName, nsIWebShell*& aRes
nsXPIDLString name;
nsCOMPtr<nsIDocShellTreeItem> docShellAsItem(do_QueryInterface(mDocShell));
if (NS_OK == docShellAsItem->GetName(getter_Copies(name))) {
if (aNameStr.EqualsWithConversion(name)) {
if (aNameStr.Equals(name)) {
aResult = webShell;
NS_ADDREF(aResult);
return NS_OK;

View File

@@ -436,7 +436,7 @@ nsXPBaseWindow::FindWebShellWithName(const PRUnichar* aName,
if (webShell) {
nsXPIDLString name;
if (NS_SUCCEEDED(docShellAsItem->GetName(getter_Copies(name)))) {
if (aNameStr.EqualsWithConversion(name)) {
if (aNameStr.Equals(name)) {
aResult = webShell;
NS_ADDREF(aResult);
return NS_OK;