Win32: Fixed addition of new words to MS Spell user dictionary
This commit is contained in:
@@ -641,9 +641,9 @@ cleanup0:
|
||||
void CSpellChecker::Close()
|
||||
{
|
||||
if (!IsInited()) return;
|
||||
UnLoad();
|
||||
mLangs.clear();
|
||||
mInited = false;
|
||||
mLang = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user