summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /editeng
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
Diffstat (limited to 'editeng')
-rw-r--r--editeng/inc/editeng/acorrcfg.hxx2
-rw-r--r--editeng/source/accessibility/AccessibleStaticTextBase.cxx2
-rw-r--r--editeng/source/editeng/editobj.cxx2
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx6
6 files changed, 8 insertions, 8 deletions
diff --git a/editeng/inc/editeng/acorrcfg.hxx b/editeng/inc/editeng/acorrcfg.hxx
index 0a49235410dd..8500cd874da1 100644
--- a/editeng/inc/editeng/acorrcfg.hxx
+++ b/editeng/inc/editeng/acorrcfg.hxx
@@ -89,7 +89,7 @@ public:
SvxAutoCorrect* GetAutoCorrect() { return pAutoCorrect; }
const SvxAutoCorrect* GetAutoCorrect() const { return pAutoCorrect; }
- // the pointer is transfered to the possession of the ConfigItems!
+ // the pointer is transferred to the possession of the ConfigItems!
void SetAutoCorrect( SvxAutoCorrect* );
sal_Bool IsAutoFmtByInput() const { return bAutoFmtByInput; }
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index 7a5f57a3e6aa..0a66b4ca1bba 100644
--- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -302,7 +302,7 @@ namespace accessibility
if( !mpTextParagraph )
throw lang::DisposedException ("object has been already disposed", mxThis );
- // TODO: Have a differnt method on AccessibleEditableTextPara
+ // TODO: Have a different method on AccessibleEditableTextPara
// that does not care about state changes
mpTextParagraph->SetParagraphIndex( nPara );
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index ea12ecab4c23..394daf2979b5 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -485,7 +485,7 @@ EditTextObjectImpl::EditTextObjectImpl( EditTextObject* pFront, SfxItemPool* pP
// pool destruction time of an alien pool, the pool is still alive.
// When registering would happen at an alien pool which just uses an
// EditEngineItemPool as some sub-pool, that pool could already
- // be decoupled and deleted whcih would lead to crashes.
+ // be decoupled and deleted which would lead to crashes.
pPool = getEditEngineItemPool(pP);
if ( pPool )
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 4caa60222e06..c97aec10e28d 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1412,7 +1412,7 @@ sal_Bool ImpEditView::SetCursorAtPoint( const Point& rPointPixel )
Point aDocPos( GetDocPos( aMousePos ) );
// Can be optimized: first go through the lines within a paragraph for PAM,
- // then again wiht the PaM for the Rect, even though the line is already
+ // then again with the PaM for the Rect, even though the line is already
// known .... This must not be, though!
EditPaM aPaM = pEditEngine->GetPaM(aDocPos);
sal_Bool bGotoCursor = DoAutoScroll();
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index d34a387a9a3d..bb7ad6c08688 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -1898,7 +1898,7 @@ sal_Bool ImpEditEngine::IsRightToLeft( sal_uInt16 nPara ) const
// #103045# if DefaultHorizontalTextDirection is set, use that value, otherwise pool default.
if ( GetDefaultHorizontalTextDirection() != EE_HTEXTDIR_DEFAULT )
{
- pFrameDirItem = NULL; // bR2L allready set to default horizontal text direction
+ pFrameDirItem = NULL; // bR2L already set to default horizontal text direction
}
else
{
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index ec6e823fd06a..024bcd95b545 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1514,7 +1514,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
if ( !bSameLineAgain )
{
nIndex = pLine->GetEnd(); // next line start = last line end
- // as nEnd points to the last charecter!
+ // as nEnd points to the last character!
sal_uInt16 nEndPortion = pLine->GetEndPortion();
@@ -2145,7 +2145,7 @@ void ImpEditEngine::ImpFindKashidas( ContentNode* pNode, sal_uInt16 nStart, sal_
}
// 3. Priority:
- // before final form of Teh Marbuta, Hah, Dal
+ // before final form of the Marbuta, Hah, Dal
// 4. Priority:
// before final form of Alef, Lam or Kaf
if ( nIdx && nIdx + 1 == aWord.Len() &&
@@ -4306,7 +4306,7 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_uInt16 nPara,
if ( !bR2L )
{
- // No CTL/Bidi checking neccessary
+ // No CTL/Bidi checking necessary
nLayoutMode |= ( TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG );
}
else