[Libreoffice-bugs] [Bug 57667] Immediately apply AutoCorrection when added per Spelling and Grammar dialog

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 1 11:26:09 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=57667

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyBeginner,
                   |                            |easyHack, skillCpp, topicUI

--- Comment #9 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Code pointer:

In cui/source/dialogs/SpellDialog.cxx, m_xAutoCorrPB (the "Add to AutoCorrect"
button) calls IMPL_LINK( SpellDialog, ExtClickHdl, weld::Button&, rBtn, void )
while m_xChangePB (the button for "Correct") runs IMPL_LINK_NOARG(SpellDialog,
ChangeHdl, weld::Button&, void). So simply adding ChangeHdl(*m_xAutoCorrPB); to
the ExtClickHdl could do the trick.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210201/a05f227a/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list