summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/hunspell/affixmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/hunspell/affixmgr.cxx')
-rw-r--r--plugins/SpellChecker/src/hunspell/affixmgr.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/hunspell/affixmgr.cxx b/plugins/SpellChecker/src/hunspell/affixmgr.cxx
index bd998f6369..6f2ae6ccdd 100644
--- a/plugins/SpellChecker/src/hunspell/affixmgr.cxx
+++ b/plugins/SpellChecker/src/hunspell/affixmgr.cxx
@@ -312,7 +312,10 @@ int AffixMgr::parse_file(const char * affpath, const char * key)
utf8 = 1;
#ifndef OPENOFFICEORG
#ifndef MOZILLA_CLIENT
- if (initialize_utf_tbl()) return 1;
+ if (initialize_utf_tbl()) {
+ finishFileMgr(afflst);
+ return 1;
+ }
#endif
#endif
}