summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source')
-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
5 files changed, 7 insertions, 7 deletions
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