From ba4a0d48d1047ddc51dc7f54fc720a35753e782a Mon Sep 17 00:00:00 2001 From: "scc%netscape.com" Date: Thu, 27 Apr 2000 20:59:12 +0000 Subject: [PATCH] making string conversions explicit git-svn-id: svn://10.0.0.236/trunk@67410 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index e0cded61e98..a14e1d17fb6 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -705,7 +705,7 @@ NS_IMETHODIMP nsDocShell::FindItemWithName(const PRUnichar *aName, nsCOMPtr reqAsTreeItem(do_QueryInterface(aRequestor)); // First we check our name. - if(mName.Equals(aName)) + if(mName.EqualsWithConversion(aName)) { *_retval = NS_STATIC_CAST(nsIDocShellTreeItem*, this); NS_ADDREF(*_retval); @@ -902,7 +902,7 @@ NS_IMETHODIMP nsDocShell::FindChildWithName(const PRUnichar *aName, continue; child->GetName(getter_Copies(childName)); - if(name.Equals(childName)) + if(name.EqualsWithConversion(childName)) { *_retval = child; NS_ADDREF(*_retval);