summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-06 19:16:20 +0200
committerTor Lillqvist <tml@collabora.com>2014-02-06 19:16:56 +0200
commit89420ff310d2877c1f77eaafea2daaca0068669d (patch)
tree759ed146cff5f4250e3e3d58253fb6bff551f328 /cui/source/dialogs/SpellDialog.cxx
parent5ce1d8775baec44bf60f05bf8c372f1d2ab74377 (diff)
Fix spelling errror
Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
Diffstat (limited to 'cui/source/dialogs/SpellDialog.cxx')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
1 files changed, 2 insertions, 2 deletions
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 );