summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-03 12:56:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-03 13:02:03 +0000
commit36edda75a9035f15e361b5a99423568e9ae7826e (patch)
treeff0d8236ab51b2db40484b283f2d88180ad19d66 /cui
parent4abf8729b8344a4d2084ba299b570ec7badc5a10 (diff)
Resolves: fdo#36678 regenerate language-specific user dict list
Regenerate language-specific user dict list when language of underlying text changes. Not just when the user overrides it from the top menu.
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 9990e4c28e7c..fee3bdd02ab8 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -367,6 +367,7 @@ void SpellDialog::UpdateBoxes_Impl()
else
SetTitle_Impl( nAltLanguage );
SetSelectedLang_Impl( nAltLanguage );
+ InitUserDicts();
// Alternativen eintragen
const ::rtl::OUString *pNewWords = aNewWords.getConstArray();