fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr

This commit is contained in:
brade%netscape.com 2003-05-09 18:18:53 +00:00
Родитель e987ab5834
Коммит faa13685c5
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -78,8 +78,7 @@ GetPresContextFromEditor(nsIEditor *aEditor, nsIPresContext **aResult)
if (NS_FAILED(rv)) return rv;
if (!selCon) return NS_ERROR_FAILURE;
nsCOMPtr<nsIPresShell> presShell;
presShell = do_QueryInterface(selCon);
nsCOMPtr<nsIPresShell> presShell = do_QueryInterface(selCon);
if (!presShell) return NS_ERROR_FAILURE;
nsCOMPtr<nsIPresContext> presContext;