summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SpellDialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 8c6773efb98c..42ea20df9630 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -926,8 +926,7 @@ IMPL_LINK(SpellDialog, ModifyHdl, Edit&, rEd, void)
{
m_pSuggestionLB->SetNoSelection();
m_pSuggestionLB->Disable();
- OUString sNewText( m_pSentenceED->GetText() );
- m_pAutoCorrPB->Enable( sNewText != m_pSentenceED->GetText() );
+ m_pAutoCorrPB->Disable();
std::unique_ptr<SpellUndoAction_Impl> pSpellAction(new SpellUndoAction_Impl(SPELLUNDO_CHANGE_TEXTENGINE, aDialogUndoLink));
if(!m_pChangeAllPB->IsEnabled())
{