From 97893e56e61a466e56d12ee46d11f6e4c32a737b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 23 Oct 2015 20:26:23 +0100 Subject: [PATCH] more tdf#76964 fall back to primary language via getLanguage Change-Id: I7718ff6f93f704e37e9a046cb07c497b2d533a2a --- editeng/source/misc/svxacorr.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 93c56bb7b31b..e1879ee009d5 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1796,6 +1796,7 @@ bool SvxAutoCorrect::FindInWrdSttExceptList( LanguageType eLang, } // otherwise for example EN + aLanguageTag.reset(aLanguageTag.getLanguage()); LanguageType nTmpKey2 = aLanguageTag.getLanguageType(false); if (nTmpKey2 != eLang && nTmpKey2 != LANGUAGE_UNDETERMINED && (m_pLangTable->find(aLanguageTag) != m_pLangTable->end() || @@ -1882,6 +1883,7 @@ bool SvxAutoCorrect::FindInCplSttExceptList(LanguageType eLang, } // otherwise for example EN + aLanguageTag.reset(aLanguageTag.getLanguage()); LanguageType nTmpKey2 = aLanguageTag.getLanguageType(false); if (nTmpKey2 != eLang && nTmpKey2 != LANGUAGE_UNDETERMINED && (m_pLangTable->find(aLanguageTag) != m_pLangTable->end() ||