summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/tabpages/autocdlg.cxx3
1 files changed, 1 insertions, 2 deletions
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);
}
}