#7884 add check for missing dictionaries when spell check starts... forgot to implement numDictionaries for Enchant in r40568

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40572 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2012-01-05 13:19:04 +00:00
parent 0c7554baaf
commit 5a80aa6fcf
2 changed files with 7 additions and 0 deletions

View File

@ -188,6 +188,12 @@ bool EnchantChecker::hasDictionary(Language const * lang) const
}
int EnchantChecker::numDictionaries() const
{
return d->spellers_.size();
}
docstring const EnchantChecker::error()
{
return docstring();

View File

@ -37,6 +37,7 @@ public:
void remove(WordLangTuple const &);
void accept(WordLangTuple const &);
bool hasDictionary(Language const * lang) const;
int numDictionaries() const;
docstring const error();
void advanceChangeNumber();
///@}