From 89420ff310d2877c1f77eaafea2daaca0068669d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 6 Feb 2014 19:16:20 +0200 Subject: Fix spelling errror Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef --- cui/source/dialogs/SpellDialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs') diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 5637894a37c6..a82616c1a066 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1148,7 +1148,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck) return bRet; } /*------------------------------------------------------------------------- - replace errrors that have a replacement in the ChangeAllList + replace errors that have a replacement in the ChangeAllList returns false if the result doesn't contain errors after the replacement -----------------------------------------------------------------------*/ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasReplaced) @@ -1654,7 +1654,7 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, Languag //calculate length changes long nDiffLen = rNewWord.getLength() - m_nErrorEnd + m_nErrorStart; TextSelection aSel(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd)); - //Remove spell errror attribute + //Remove spell error attribute ExtTextEngine* pTextEngine = GetTextEngine(); pTextEngine->UndoActionStart(); const TextCharAttrib* pErrorAttrib = pTextEngine->FindCharAttrib( TextPaM(0, m_nErrorStart), TEXTATTR_SPELL_ERROR ); -- cgit