Win32: Fixed addition of new words to MS Spell user dictionary

This commit is contained in:
Ianos Gnatiuc
2006-03-27 18:39:27 +00:00
parent 434c8db690
commit ef23aba6de
3 changed files with 3 additions and 7 deletions

View File

@@ -641,9 +641,9 @@ cleanup0:
void CSpellChecker::Close()
{
if (!IsInited()) return;
UnLoad();
mLangs.clear();
mInited = false;
mLang = NULL;
}

View File

@@ -68,10 +68,6 @@ public:
mToDicTable = mToLocTable = NULL;
}
virtual ~CSpellLang() {}
void Close() { UnLoad(); }
virtual bool Load(const char *codeset, const char *userdic) = 0;
virtual void UnLoad() = 0;
@@ -208,7 +204,6 @@ private:
public:
CMSSpellLang() { mLibrary = NULL; }
~CMSSpellLang() { Close(); }
bool Init(HKEY hKey, const char *name);
@@ -240,7 +235,6 @@ private:
public:
CMYSpellLang() { mMSpell = NULL; }
~CMYSpellLang() { Close(); }
bool Init(const gdirentry *entry);