зеркало из https://github.com/mozilla/gecko-dev.git
backing out this part of my last checkin due to bustage
This commit is contained in:
Родитель
5f67c34afe
Коммит
ce0000dee3
|
@ -246,7 +246,6 @@ class nsTString_CharT : public nsTSubstring_CharT
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Equality check between given string and this string.
|
||||
*
|
||||
|
@ -255,11 +254,7 @@ class nsTString_CharT : public nsTSubstring_CharT
|
|||
* @param aCount tells us how many chars to compare
|
||||
* @return boolean
|
||||
*/
|
||||
#ifdef CharT_is_char
|
||||
PRBool EqualsIgnoreCase( const char* aString, PRInt32 aCount=-1 ) const {
|
||||
return Compare(aString, PR_TRUE, aCount) == 0;
|
||||
}
|
||||
#else
|
||||
|
||||
NS_COM PRBool EqualsWithConversion( const char* aString, PRBool aIgnoreCase=PR_FALSE, PRInt32 aCount=-1 ) const;
|
||||
PRBool EqualsIgnoreCase( const char* aString, PRInt32 aCount=-1 ) const
|
||||
{
|
||||
|
@ -267,6 +262,8 @@ class nsTString_CharT : public nsTSubstring_CharT
|
|||
}
|
||||
|
||||
|
||||
#ifdef CharT_is_PRUnichar
|
||||
|
||||
/**
|
||||
* Determine if given buffer is plain ascii
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче