mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
fix bug 687319 spell check dialog for mailnews broken, r=ehsan
This commit is contained in:
parent
6b99a745fc
commit
6a703368e0
@ -388,7 +388,10 @@ mozSpellChecker::SetCurrentDictionary(const nsAString &aDictionary)
|
||||
nsCOMPtr<mozIPersonalDictionary> personalDictionary = do_GetService("@mozilla.org/spellchecker/personaldictionary;1");
|
||||
mSpellCheckingEngine->SetPersonalDictionary(personalDictionary.get());
|
||||
|
||||
return NS_OK;
|
||||
nsXPIDLString language;
|
||||
nsCOMPtr<mozISpellI18NManager> serv(do_GetService("@mozilla.org/spellchecker/i18nmanager;1", &rv));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
return serv->GetUtil(language.get(),getter_AddRefs(mConverter));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user