mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
r=ftang, sr=blizzard, a=asa (drivers) Bidi function shouldn't be using nsAutoString as parameter
This commit is contained in:
parent
95ed00f714
commit
bf31f50b3f
@ -1569,7 +1569,7 @@ nsPresContext::GetIsBidiSystem(PRBool& aResult) const
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsPresContext::GetBidiCharset(nsAutoString &aCharSet)
|
||||
nsPresContext::GetBidiCharset(nsAWritableString &aCharSet)
|
||||
{
|
||||
aCharSet = mCharset;
|
||||
return NS_OK;
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "nsIFrameImageLoader.h"
|
||||
#include "nsILanguageAtom.h"
|
||||
#ifdef IBMBIDI
|
||||
class nsAutoString;
|
||||
class nsBidiPresUtils;
|
||||
#endif // IBMBIDI
|
||||
|
||||
@ -471,7 +470,7 @@ public:
|
||||
/**
|
||||
* Get the document charset
|
||||
*/
|
||||
NS_IMETHOD GetBidiCharset(nsAutoString &aCharSet) = 0;
|
||||
NS_IMETHOD GetBidiCharset(nsAWritableString &aCharSet) = 0;
|
||||
#endif // IBMBIDI
|
||||
|
||||
/**
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "nsIFrameImageLoader.h"
|
||||
#include "nsILanguageAtom.h"
|
||||
#ifdef IBMBIDI
|
||||
class nsAutoString;
|
||||
class nsBidiPresUtils;
|
||||
#endif // IBMBIDI
|
||||
|
||||
@ -471,7 +470,7 @@ public:
|
||||
/**
|
||||
* Get the document charset
|
||||
*/
|
||||
NS_IMETHOD GetBidiCharset(nsAutoString &aCharSet) = 0;
|
||||
NS_IMETHOD GetBidiCharset(nsAWritableString &aCharSet) = 0;
|
||||
#endif // IBMBIDI
|
||||
|
||||
/**
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "nsIFrameImageLoader.h"
|
||||
#include "nsILanguageAtom.h"
|
||||
#ifdef IBMBIDI
|
||||
class nsAutoString;
|
||||
class nsBidiPresUtils;
|
||||
#endif // IBMBIDI
|
||||
|
||||
@ -471,7 +470,7 @@ public:
|
||||
/**
|
||||
* Get the document charset
|
||||
*/
|
||||
NS_IMETHOD GetBidiCharset(nsAutoString &aCharSet) = 0;
|
||||
NS_IMETHOD GetBidiCharset(nsAWritableString &aCharSet) = 0;
|
||||
#endif // IBMBIDI
|
||||
|
||||
/**
|
||||
|
@ -1569,7 +1569,7 @@ nsPresContext::GetIsBidiSystem(PRBool& aResult) const
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsPresContext::GetBidiCharset(nsAutoString &aCharSet)
|
||||
nsPresContext::GetBidiCharset(nsAWritableString &aCharSet)
|
||||
{
|
||||
aCharSet = mCharset;
|
||||
return NS_OK;
|
||||
|
@ -178,7 +178,7 @@ public:
|
||||
//Mohamed 17-1-01
|
||||
NS_IMETHOD SetIsBidiSystem(PRBool aIsBidi);
|
||||
NS_IMETHOD GetIsBidiSystem(PRBool &aResult) const;
|
||||
NS_IMETHOD GetBidiCharset(nsAutoString &aCharSet);
|
||||
NS_IMETHOD GetBidiCharset(nsAWritableString &aCharSet);
|
||||
//Mohamed End
|
||||
#endif // IBMBIDI
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user