backing out previous checking. it is busting one of the linuxes..

This commit is contained in:
jdunn%netscape.com 2001-12-08 11:51:27 +00:00
Родитель 4321756b3f
Коммит 2001144c90
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -1411,10 +1411,7 @@ nsHTMLEditor::RelativeFontChangeOnTextNode( PRInt32 aSizeChange,
if (NS_FAILED(res)) return res;
}
NS_NAMED_LITERAL_STRING(bigSize, "big");
NS_NAMED_LITERAL_STRING(smallSize, "small");
nsAutoString nodeType = (aSizeChange==1) ? bigSize : smallSize;
nsAutoString nodeType(aSizeChange==1 ? NS_LITERAL_STRING("big") : NS_LITERAL_STRING("small"));
// look for siblings that are correct type of node
nsCOMPtr<nsIDOMNode> sibling;
GetPriorHTMLSibling(node, address_of(sibling));