зеркало из https://github.com/mozilla/pjs.git
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during the review of 75066 (nsBidiOptions -> PRUint32)
This commit is contained in:
Родитель
3257af853b
Коммит
25ab19513e
|
@ -100,7 +100,7 @@ nsresult nsCopySupport::HTMLCopy(nsISelection *aSel, nsIDocument *aDoc, PRInt16
|
||||||
context->IsArabicEncoding(arabicCharset);
|
context->IsArabicEncoding(arabicCharset);
|
||||||
if (arabicCharset) {
|
if (arabicCharset) {
|
||||||
nsCOMPtr<nsIUBidiUtils> bidiUtils = do_GetService("@mozilla.org/intl/unicharbidiutil;1");
|
nsCOMPtr<nsIUBidiUtils> bidiUtils = do_GetService("@mozilla.org/intl/unicharbidiutil;1");
|
||||||
nsBidiOptions bidiOptions;
|
PRUint32 bidiOptions;
|
||||||
PRBool isVisual;
|
PRBool isVisual;
|
||||||
PRBool isBidiSystem;
|
PRBool isBidiSystem;
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ nsresult nsCopySupport::HTMLCopy(nsISelection *aSel, nsIDocument *aDoc, PRInt16
|
||||||
context->IsArabicEncoding(arabicCharset);
|
context->IsArabicEncoding(arabicCharset);
|
||||||
if (arabicCharset) {
|
if (arabicCharset) {
|
||||||
nsCOMPtr<nsIUBidiUtils> bidiUtils = do_GetService("@mozilla.org/intl/unicharbidiutil;1");
|
nsCOMPtr<nsIUBidiUtils> bidiUtils = do_GetService("@mozilla.org/intl/unicharbidiutil;1");
|
||||||
nsBidiOptions bidiOptions;
|
PRUint32 bidiOptions;
|
||||||
PRBool isVisual;
|
PRBool isVisual;
|
||||||
PRBool isBidiSystem;
|
PRBool isBidiSystem;
|
||||||
|
|
||||||
|
|
|
@ -714,7 +714,7 @@ nsFormFrame::OnSubmit(nsIPresContext* aPresContext, nsIFrame* aFrame)
|
||||||
|
|
||||||
//ahmed
|
//ahmed
|
||||||
#ifdef IBMBIDI
|
#ifdef IBMBIDI
|
||||||
nsBidiOptions bidiOptions;
|
PRUint32 bidiOptions;
|
||||||
aPresContext->GetBidi(&bidiOptions);
|
aPresContext->GetBidi(&bidiOptions);
|
||||||
mCtrlsModAtSubmit = GET_BIDI_OPTION_CONTROLSTEXTMODE(bidiOptions);
|
mCtrlsModAtSubmit = GET_BIDI_OPTION_CONTROLSTEXTMODE(bidiOptions);
|
||||||
mTextDir = GET_BIDI_OPTION_DIRECTION(bidiOptions);
|
mTextDir = GET_BIDI_OPTION_DIRECTION(bidiOptions);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче