Kaydet (Commit) 89420ff3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix spelling errror

Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
üst 5ce1d877
......@@ -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 );
......
......@@ -140,7 +140,7 @@ static const sal_Char* errorCodeToMessage(ErrorCode eCode)
case EIDL_SIMILAR_CONSTRUCTORS:
return "two constructors have identical lists of parameter types";
}
return "unknown errror";
return "unknown error";
}
static const sal_Char* warningCodeToMessage(WarningCode wCode)
......
......@@ -127,7 +127,7 @@ void XMLErrors::AddRecord(
if( (nFlags & XMLERROR_FLAG_WARNING) != 0 )
sMessage.appendAscii( " WARNING" );
if( (nFlags & XMLERROR_FLAG_ERROR) != 0 )
sMessage.appendAscii( " ERRROR" );
sMessage.appendAscii( " ERROR" );
if( (nFlags & XMLERROR_FLAG_SEVERE) != 0 )
sMessage.appendAscii( " SEVERE" );
sMessage.appendAscii( "\n Class: " );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment