fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045)

This commit is contained in:
brade%comcast.net 2003-09-03 13:49:22 +00:00
Родитель 67749a7953
Коммит d7cc2379d6
1 изменённых файлов: 4 добавлений и 5 удалений

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

@ -180,11 +180,10 @@ nsresult TypeInState::SetProp(nsIAtom *aProp, const nsString &aAttr, const nsStr
mRelativeFontSize--;
return NS_OK;
}
nsAutoString value;
PRInt32 index;
PropItem *item = nsnull;
PropItem *item;
if (IsPropSet(aProp,aAttr,nsnull,index))
{
// if it's already set, update the value
@ -239,7 +238,7 @@ nsresult TypeInState::ClearProp(nsIAtom *aProp, const nsString &aAttr)
/***************************************************************************
* TakeClearProperty: hands back next poroperty item on the clear list.
* TakeClearProperty: hands back next property item on the clear list.
* caller assumes ownership of PropItem and must delete it.
*/
nsresult TypeInState::TakeClearProperty(PropItem **outPropItem)