diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-05-14 14:15:38 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-17 12:38:38 +0000 |
commit | 3c1e30b77df4f34c4954bff37a08439ace7f2434 (patch) | |
tree | a5231657e37e3b2efb2ba438c43561bf5f27649c /editeng/source | |
parent | f62de9113a4866f7152acbe0e8221c594b7a7b68 (diff) |
Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 4 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 50715a1e21b5..764d4fa97210 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -2382,8 +2382,8 @@ EditPaM ImpEditEngine::ImpDeleteSelection(const EditSelection& rCurSel) EditPaM aStartPaM(aCurSel.Min()); EditPaM aEndPaM(aCurSel.Max()); - CursorMoved( aStartPaM.GetNode() ); // only so that newly set Attributes dissapear... - CursorMoved( aEndPaM.GetNode() ); // only so that newly set Attributes dissapear... + CursorMoved( aStartPaM.GetNode() ); // only so that newly set Attributes disappear... + CursorMoved( aEndPaM.GetNode() ); // only so that newly set Attributes disappear... OSL_ENSURE( aStartPaM.GetIndex() <= aStartPaM.GetNode()->Len(), "Index out of range in ImpDeleteSelection" ); OSL_ENSURE( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index out of range in ImpDeleteSelection" ); diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index cc320e5413a1..c9d283466a5f 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -2786,7 +2786,7 @@ const SvxAutocorrWord* SvxAutocorrWordList::WordMatches(const SvxAutocorrWord *p bool not_suffix; while( nSttWdPos && !(bWasWordDelim = IsWordDelim( rTxt[ --nSttWdPos ]))) ; - // search the first occurance with a left word delimitation + // search the first occurrence with a left word delimitation sal_Int32 nFndPos = -1; do { nFndPos = rTxt.indexOf( sTmp, nFndPos + 1); |