Cut-and-paste error. GetVLinkColor was calling the body's GetLink method. Fix approved by chofmann, reviewed by nisheeth.
git-svn-id: svn://10.0.0.236/trunk@38809 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e892b41a7f
commit
3e0b8967ef
@ -1711,7 +1711,7 @@ nsHTMLDocument::GetVlinkColor(nsString& aVlinkColor)
|
||||
aVlinkColor.Truncate();
|
||||
result = GetBodyElement(&body);
|
||||
if (NS_OK == result) {
|
||||
result = body->GetLink(aVlinkColor);
|
||||
result = body->GetVLink(aVlinkColor);
|
||||
NS_RELEASE(body);
|
||||
}
|
||||
else if (nsnull != mAttrStyleSheet) {
|
||||
|
||||
@ -1711,7 +1711,7 @@ nsHTMLDocument::GetVlinkColor(nsString& aVlinkColor)
|
||||
aVlinkColor.Truncate();
|
||||
result = GetBodyElement(&body);
|
||||
if (NS_OK == result) {
|
||||
result = body->GetLink(aVlinkColor);
|
||||
result = body->GetVLink(aVlinkColor);
|
||||
NS_RELEASE(body);
|
||||
}
|
||||
else if (nsnull != mAttrStyleSheet) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user