needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available.

git-svn-id: svn://10.0.0.236/trunk@66203 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-04-17 14:50:07 +00:00
parent ab4e1cb845
commit f742fe7b5f
3 changed files with 12 additions and 12 deletions

View File

@@ -1918,10 +1918,6 @@ PRBool nsString::EqualsIgnoreCase(const char* aString,PRInt32 aLength) const {
}
#ifndef NEW_STRING_APIS
PRBool nsString::EqualsIgnoreCase(/*FIX: const */nsIAtom *aAtom) const {
return Equals(aAtom,PR_TRUE);
}
PRBool nsString::EqualsIgnoreCase(const PRUnichar* s1, const PRUnichar* s2) const {
return Equals(s1,s2,PR_TRUE);
}
@@ -1999,6 +1995,10 @@ PRBool nsString::EqualsAtom(/*FIX: const */nsIAtom* aAtom,PRBool aIgnoreCase) co
return result;
}
PRBool nsString::EqualsIgnoreCase(/*FIX: const */nsIAtom *aAtom) const {
return EqualsAtom(aAtom,PR_TRUE);
}
#ifndef NEW_STRING_APIS
/**
* Compare this to given string; note that we compare full strings here.