[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 17 18:34:49 UTC 2019
cui/source/dialogs/SpellDialog.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 00c313a28934cf9daa7b74570734a4cb61ad56ce
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jun 17 15:15:01 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jun 17 20:34:06 2019 +0200
long winded false
Change-Id: I79510d5156123f03b97dc4c2a0426347ef969d90
Reviewed-on: https://gerrit.libreoffice.org/74179
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/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())
{
More information about the Libreoffice-commits
mailing list