mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
Thanks to David Baron <dbaron@dbaron.org> for the patch. Bug #198276 r=jag sr=bz
This commit is contained in:
parent
95563f3ca8
commit
dca257bd56
@ -42,9 +42,8 @@
|
||||
class nsASingleFragmentCString;
|
||||
class nsCString;
|
||||
|
||||
NS_COM size_t Distance( const nsAString::const_iterator&, const nsAString::const_iterator& );
|
||||
NS_COM size_t Distance( const nsACString::const_iterator&, const nsACString::const_iterator& );
|
||||
|
||||
NS_COM size_t Distance( const nsReadingIterator<PRUnichar>&, const nsReadingIterator<PRUnichar>& );
|
||||
NS_COM size_t Distance( const nsReadingIterator<char>&, const nsReadingIterator<char>& );
|
||||
|
||||
NS_COM void CopyUCS2toASCII( const nsAString& aSource, nsACString& aDest );
|
||||
NS_COM void CopyASCIItoUCS2( const nsACString& aSource, nsAString& aDest );
|
||||
|
@ -94,14 +94,14 @@ Distance_Impl( const nsReadingIterator<CharT>& aStart,
|
||||
|
||||
NS_COM
|
||||
size_t
|
||||
Distance( const nsAString::const_iterator& aStart, const nsAString::const_iterator& aEnd )
|
||||
Distance( const nsReadingIterator<PRUnichar>&aStart, const nsReadingIterator<PRUnichar>&aEnd )
|
||||
{
|
||||
return Distance_Impl(aStart, aEnd);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
size_t
|
||||
Distance( const nsACString::const_iterator& aStart, const nsACString::const_iterator& aEnd )
|
||||
Distance( const nsReadingIterator<char>&aStart, const nsReadingIterator<char>&aEnd )
|
||||
{
|
||||
return Distance_Impl(aStart, aEnd);
|
||||
}
|
||||
|
@ -42,9 +42,8 @@
|
||||
class nsASingleFragmentCString;
|
||||
class nsCString;
|
||||
|
||||
NS_COM size_t Distance( const nsAString::const_iterator&, const nsAString::const_iterator& );
|
||||
NS_COM size_t Distance( const nsACString::const_iterator&, const nsACString::const_iterator& );
|
||||
|
||||
NS_COM size_t Distance( const nsReadingIterator<PRUnichar>&, const nsReadingIterator<PRUnichar>& );
|
||||
NS_COM size_t Distance( const nsReadingIterator<char>&, const nsReadingIterator<char>& );
|
||||
|
||||
NS_COM void CopyUCS2toASCII( const nsAString& aSource, nsACString& aDest );
|
||||
NS_COM void CopyASCIItoUCS2( const nsACString& aSource, nsAString& aDest );
|
||||
|
@ -94,14 +94,14 @@ Distance_Impl( const nsReadingIterator<CharT>& aStart,
|
||||
|
||||
NS_COM
|
||||
size_t
|
||||
Distance( const nsAString::const_iterator& aStart, const nsAString::const_iterator& aEnd )
|
||||
Distance( const nsReadingIterator<PRUnichar>&aStart, const nsReadingIterator<PRUnichar>&aEnd )
|
||||
{
|
||||
return Distance_Impl(aStart, aEnd);
|
||||
}
|
||||
|
||||
NS_COM
|
||||
size_t
|
||||
Distance( const nsACString::const_iterator& aStart, const nsACString::const_iterator& aEnd )
|
||||
Distance( const nsReadingIterator<char>&aStart, const nsReadingIterator<char>&aEnd )
|
||||
{
|
||||
return Distance_Impl(aStart, aEnd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user