[Libreoffice-commits] core.git: cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 17 13:12:19 UTC 2019
cui/source/tabpages/autocdlg.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit aa6b59c4bc4462b451cd6fe674b8fb8600698b2b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 16 17:24:13 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri May 17 15:11:16 2019 +0200
not much point setting the checkbox on each insertion
Change-Id: Ibc12e52d075c7bc7c33b7c25841cfd122d6c014e
Reviewed-on: https://gerrit.libreoffice.org/72421
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 884163bb2085..20042f986d47 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -816,7 +816,6 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset,
// formatted text is only in Writer
if (bSWriter || bTextOnly)
{
- m_xTextOnlyCB->set_active(bTextOnly);
OUString sId;
if (!bTextOnly)
{
@@ -843,7 +842,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)
{
@@ -875,6 +873,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset,
}
else
{
+ m_xTextOnlyCB->set_active(true);
m_xTextOnlyCB->set_sensitive(false);
}
}
More information about the Libreoffice-commits
mailing list