diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-16 17:24:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-05-21 11:33:08 +0200 |
commit | 2ff0b6bd5e549ee97f668e210df1b6911238cb7e (patch) | |
tree | 9797cedb1e8e89bef5f51edcce4510193ed7aaa2 /cui/source | |
parent | eaa01effbcf34d2984f1bd1a8002479c717d82a2 (diff) |
not much point setting the checkbox on each insertion
Change-Id: Ibc12e52d075c7bc7c33b7c25841cfd122d6c014e
Reviewed-on: https://gerrit.libreoffice.org/72452
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 354fc5d336f3..ee0ab7f2e37a 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -921,7 +921,6 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset, // formatted text is only in Writer if (bSWriter || bTextOnly) { - m_xTextOnlyCB->set_active(bTextOnly); OUString sId; if (!bTextOnly) { @@ -948,7 +947,6 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset, // formatted text is only in Writer if (bSWriter || bTextOnly) { - m_xTextOnlyCB->set_active(elem->IsTextOnly()); OUString sId; if (!bTextOnly) { @@ -980,6 +978,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset, } else { + m_xTextOnlyCB->set_active(true); m_xTextOnlyCB->set_sensitive(false); } } |