зеркало из https://github.com/mozilla/pjs.git
Bug 557690: Fix uninitialized return value in nsEditor::QueryComposition. r=roc
This commit is contained in:
Родитель
3b576abbf7
Коммит
179ed9c4bb
|
@ -1972,7 +1972,6 @@ nsEditor::StopPreservingSelection()
|
|||
nsresult
|
||||
nsEditor::QueryComposition(nsTextEventReply* aReply)
|
||||
{
|
||||
nsresult result;
|
||||
nsCOMPtr<nsISelection> selection;
|
||||
nsCOMPtr<nsISelectionController> selcon = do_QueryReferent(mSelConWeak);
|
||||
if (selcon)
|
||||
|
@ -2034,7 +2033,7 @@ nsEditor::QueryComposition(nsTextEventReply* aReply)
|
|||
rect.ToOutsidePixels(frame->PresContext()->AppUnitsPerDevPixel());
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче