зеркало из https://github.com/mozilla/pjs.git
fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr
This commit is contained in:
Родитель
e987ab5834
Коммит
faa13685c5
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче