diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-17 15:15:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-17 20:34:06 +0200 |
commit | 00c313a28934cf9daa7b74570734a4cb61ad56ce (patch) | |
tree | c49ef2c72df14519cb98a0d6d21590e4f5c3498e /cui | |
parent | 5b84e83d08f36c277e70668dd775406a09f98c93 (diff) |
long winded false
Change-Id: I79510d5156123f03b97dc4c2a0426347ef969d90
Reviewed-on: https://gerrit.libreoffice.org/74179
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 89474b59222f..1d19d95ac0d3 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()) { |