incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120048] Add button in spell check dialog doesn't show custom dictionaries
Date Fri, 22 Jun 2012 20:56:04 GMT

Ariel Constenla-Haile <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from Ariel Constenla-Haile <> ---
Looking at the code in 


reveals that the language in the SvxLanguageBox is LANGUAGE_DONTKNOW (0x03FF)
when the PopupMenu is filled. On the other side, SwSpellPopup in
sw/source/ui/lingu/olemenu.cxx has the right language (though the code is
almost the same).

The issue is that svx::SpellDialog::InitUserDicts() is called on the
constructor (actually on void SpellDialog::Init_Impl()), but not every time
SpellDialog::UpdateBoxes_Impl() is called, as it should: 

SpellDialog::UpdateBoxes_Impl() gets the current Locale from the
SpellErrorDescription and updates the selected language accordingly calling
SetSelectedLang_Impl(). Right after this call, the user dictionaries should be

In short, InitUserDicts() is invoked too little, not reflecting the
Locale/language change.

You are receiving this mail because:
You are the assignee for the bug.

View raw message