diff options
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 6fdcbcca1ccf..c8891889b01d 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1728,7 +1728,11 @@ bool SvxAutoCorrect::AddCplSttException( const OUString& rNew, if (iter != m_aLangTable.end()) pLists = &iter->second; else if(CreateLanguageFile(aLangTagUndetermined)) - pLists = &m_aLangTable.find(aLangTagUndetermined)->second; + { + iter = m_aLangTable.find(aLangTagUndetermined); + assert(iter != m_aLangTable.end()); + pLists = &iter->second; + } } OSL_ENSURE(pLists, "No auto correction data"); return pLists && pLists->AddToCplSttExceptList(rNew); |