зеркало из https://github.com/mozilla/gecko-dev.git
removal of DeleteSelection, which was redundant. Bug 312778, r=brettw, sr=mscott
This commit is contained in:
Родитель
7d976ba23d
Коммит
3be16114a2
|
@ -447,7 +447,6 @@ NS_IMETHODIMP mozInlineSpellChecker::ReplaceWord(nsIDOMNode *aNode, PRInt32 aOff
|
|||
NS_ENSURE_SUCCESS(res, res);
|
||||
selection->RemoveAllRanges();
|
||||
selection->AddRange(range);
|
||||
editor->DeleteSelection(nsIEditor::eNone);
|
||||
|
||||
nsCOMPtr<nsIPlaintextEditor> textEditor(do_QueryReferent(mEditor));
|
||||
textEditor->InsertText(newword);
|
||||
|
|
Загрузка…
Ссылка в новой задаче