Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -632,7 +632,7 @@ nsGenericDOMDataNode::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
// XXX See the comment in nsGenericElement::BindToTree
|
||||
mParentPtrBits |= PARENT_BIT_INDOCUMENT;
|
||||
if (mText.IsBidi()) {
|
||||
aDocument->SetBidiEnabled(PR_TRUE);
|
||||
aDocument->SetBidiEnabled();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1024,7 +1024,7 @@ void nsGenericDOMDataNode::SetBidiStatus()
|
||||
mText.SetBidiFlag();
|
||||
|
||||
if (document && mText.IsBidi()) {
|
||||
document->SetBidiEnabled(PR_TRUE);
|
||||
document->SetBidiEnabled();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user