[Libreoffice-commits] core.git: cui/source idlc/source xmloff/source
Tor Lillqvist
tml at collabora.com
Thu Feb 6 09:17:50 PST 2014
cui/source/dialogs/SpellDialog.cxx | 4 ++--
idlc/source/errorhandler.cxx | 2 +-
xmloff/source/core/xmlerror.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 89420ff310d2877c1f77eaafea2daaca0068669d
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Feb 6 19:16:20 2014 +0200
Fix spelling errror
Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 5637894..a82616c 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 );
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 323f16b..6a99b66 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -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)
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index c443a25..fe1172a 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -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: " );
More information about the Libreoffice-commits
mailing list