summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck/spell/sspellimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/spellcheck/spell/sspellimp.hxx')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.hxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
index 4a06ad6bfd6d..d8e5581463da 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
@@ -54,12 +54,19 @@ class SpellChecker :
XServiceDisplayName
>
{
+ struct DictItem
+ {
+ OUString m_aDName;
+ Locale m_aDLoc;
+ std::unique_ptr<Hunspell> m_pDict;
+ rtl_TextEncoding m_aDEnc;
+
+ DictItem(OUString i_DName, Locale i_DLoc, rtl_TextEncoding i_DEnc);
+ };
+
+ std::vector<DictItem> m_DictItems;
+
Sequence< Locale > m_aSuppLocales;
- Hunspell ** m_aDicts;
- std::unique_ptr<rtl_TextEncoding[]> m_aDEncs;
- Locale * m_aDLocs;
- std::unique_ptr<OUString[]> m_aDNames;
- sal_Int32 m_nNumDict;
::comphelper::OInterfaceContainerHelper2 m_aEvtListeners;
linguistic::PropertyHelper_Spelling* m_pPropHelper;