diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-21 15:20:49 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-21 15:30:00 +0200 |
commit | a641bbff59cdd55cfc9757e6a43e732a3c8867be (patch) | |
tree | a0e1c567b9205e50df28879e1fb963fe219b5103 /editeng/qa/unit | |
parent | register separate theSystemLocale for faster access (diff) | |
download | core-a641bbff59cdd55cfc9757e6a43e732a3c8867be.tar.gz core-a641bbff59cdd55cfc9757e6a43e732a3c8867be.zip |
map autocorrection files with LanguageTag key
... as several tags (i.e. renamed) may map to the same LangID.
Change-Id: I8202b18ea0dc8034522017be59bb104b3d06c0f4
Diffstat (limited to 'editeng/qa/unit')
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 57c62c364089..d0437f4f8c5f 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -281,8 +281,9 @@ private: if (m_rText.isEmpty()) return false; + LanguageTag aLanguageTag( m_eLang); const SvxAutocorrWord* pFnd = rACorrect.SearchWordsInList( - m_rText, rSttPos, nEndPos, *this, m_eLang); + m_rText, rSttPos, nEndPos, *this, aLanguageTag); if (pFnd && pFnd->IsTextOnly()) { m_rText = m_rText.replaceAt(rSttPos, nEndPos, pFnd->GetLong()); |