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:
vidur%netscape.com 1999-07-08 19:55:47 +00:00
parent e892b41a7f
commit 3e0b8967ef
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {