Kaydet (Commit) aa6b59c4 authored tarafından Caolán McNamara's avatar Caolán McNamara

not much point setting the checkbox on each insertion

Change-Id: Ibc12e52d075c7bc7c33b7c25841cfd122d6c014e
Reviewed-on: https://gerrit.libreoffice.org/72421
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 390bd27d
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment