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:
smontagu%smontagu.org
2008-07-22 11:59:15 +00:00
parent 14639f6081
commit ebbb7491d6
9 changed files with 15 additions and 18 deletions

View File

@@ -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();
}
}