From f742fe7b5f853672f5da9ce1bb330bcd20ace6fa Mon Sep 17 00:00:00 2001 From: "scc%netscape.com" Date: Mon, 17 Apr 2000 14:50:07 +0000 Subject: [PATCH] needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available. git-svn-id: svn://10.0.0.236/trunk@66203 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsString2.cpp | 8 ++++---- mozilla/xpcom/ds/nsString2.cpp | 8 ++++---- mozilla/xpcom/string/obsolete/nsString2.cpp | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mozilla/string/obsolete/nsString2.cpp b/mozilla/string/obsolete/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/string/obsolete/nsString2.cpp +++ b/mozilla/string/obsolete/nsString2.cpp @@ -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. diff --git a/mozilla/xpcom/ds/nsString2.cpp b/mozilla/xpcom/ds/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/xpcom/ds/nsString2.cpp +++ b/mozilla/xpcom/ds/nsString2.cpp @@ -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. diff --git a/mozilla/xpcom/string/obsolete/nsString2.cpp b/mozilla/xpcom/string/obsolete/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/xpcom/string/obsolete/nsString2.cpp +++ b/mozilla/xpcom/string/obsolete/nsString2.cpp @@ -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.