summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:49:51 +0200
committerOliver Specht <oliver.specht@cib.de>2015-09-30 12:38:37 +0000
commitf891d8cf6bb6f2db1b72cba64036b5f1fb858309 (patch)
treee83fea6a46645060f1452fc63ee5151c9b9a185c /editeng
parentae13a6819e1dea6646aa0eba435ca9c81101f52c (diff)
Fix typos
Change-Id: I9dbe1e05cf73af20c25392e639a807854e87fc6e Reviewed-on: https://gerrit.libreoffice.org/18946 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx4
-rw-r--r--editeng/source/accessibility/AccessibleParaManager.cxx2
-rw-r--r--editeng/source/editeng/editdoc.cxx6
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/items/borderline.cxx4
8 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 7b3a2cd9f48a..1544ab014cde 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1247,7 +1247,7 @@ namespace accessibility
{
SolarMutexGuard aGuard;
- //Skip the bullet range to ingnore the bullet text
+ //Skip the bullet range to ignore the bullet text
SvxTextForwarder& rCacheTF = GetTextForwarder();
EBulletInfo aBulletInfo = rCacheTF.GetBulletInfo(GetParagraphIndex());
if (aBulletInfo.bVisible)
@@ -1783,7 +1783,7 @@ namespace accessibility
else
{
sal_Int32 nStartIndex, nEndIndex;
- //For the bullet paragraph, the bullet string is ingnored for IAText::attributes() function.
+ //For the bullet paragraph, the bullet string is ignored for IAText::attributes() function.
SvxTextForwarder& rCacheTF = GetTextForwarder();
// MT IA2: Not used? sal_Int32 nBulletLen = 0;
EBulletInfo aBulletInfo = rCacheTF.GetBulletInfo(GetParagraphIndex());
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index d107bdf27749..53fcd5a9e9c7 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -59,7 +59,7 @@ namespace accessibility
AccessibleParaManager::~AccessibleParaManager()
{
- // owner is responsible for possible child defuncs
+ // owner is responsible for possible child death
}
void AccessibleParaManager::SetAdditionalChildStates( const VectorOfStates& rChildStates )
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 43360140cd3f..8459fc8ad1db 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -716,7 +716,7 @@ sal_Int32 FastGetPos(const _Array& rArray, const _Val* p, sal_Int32& rLastPos)
}
}
}
- // The world's lamest linear search from svarray ...
+ // The world's lamest linear search from svarray...
for (sal_Int32 nIdx = 0; nIdx < nArrayLen; ++nIdx)
if (&rArray.at(nIdx) == p)
return rLastPos = nIdx;
@@ -971,7 +971,7 @@ EditLine::EditLine() :
nStart = nEnd = 0;
nStartPortion = 0; // to be able to tell the difference between a line
- // without Ptorions form one with the Portion number 0
+ // without Portions from one with the Portion number 0
nEndPortion = 0;
nHeight = 0;
nStartPosX = 0;
@@ -1324,7 +1324,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool&
{
// Only expand when there is no feature
// and if not in exclude list!
- // Otherwise, a UL will go on until a new ULDB, expaning both
+ // Otherwise, a UL will go on until a new ULDB, expanding both
// if ( !pAttrib->IsFeature() && !rExclList.FindAttrib( pAttrib->Which() ) )
if ( !pAttrib->IsFeature() && !aCharAttribList.FindEmptyAttrib( pAttrib->Which(), nIndex ) )
{
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 9f37a3f10601..ea488b95eb23 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1701,7 +1701,7 @@ void ImpEditView::dragGestureRecognized(const css::datatransfer::dnd::DragGestur
sal_Int8 nActions = bReadOnly ? datatransfer::dnd::DNDConstants::ACTION_COPY : datatransfer::dnd::DNDConstants::ACTION_COPY_OR_MOVE;
rDGE.DragSource->startDrag( rDGE, nActions, 0 /*cursor*/, 0 /*image*/, xData, mxDnDListener );
- // If Drag&Move in an Engine, thenCopy&Del has to be optional!
+ // If Drag&Move in an Engine, then Copy&Del has to be optional!
GetCursor()->Hide();
}
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index ced328816d82..adb316930bd3 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -2502,7 +2502,7 @@ EditPaM ImpEditEngine::AutoCorrect( const EditSelection& rCurSel, sal_Unicode c,
}
// select second word
- // (sometimes aSel mightnot point to the end of the first word
+ // (sometimes aSel might not point to the end of the first word
// but to some following char like '.'. ':', ...
// In those cases we need aSecondWordSel to see if aSel
// will actually effect the first word.)
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index d31d12e1c47b..4df265a9bb6c 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -586,7 +586,7 @@ void ImpEditEngine::CheckPageOverflow()
mbNeedsChainingHandling = true;
} else
{
- // No overflow if withing box boundaries
+ // No overflow if within box boundaries
//aStatus.SetPageOverflow(false);
mbNeedsChainingHandling = false;
}
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 4dee2f6e13a7..8a713f5c2b45 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1468,7 +1468,7 @@ SpellInfo * ImpEditEngine::CreateSpellInfo( bool bMultipleDocs )
pSpellInfo->bMultipleDoc = bMultipleDocs;
// always spell draw objects completely, startting at the top.
// (spelling in only a selection or not starting with the top requires
- // further changes elsewehe to work properly)
+ // further changes elsewhere to work properly)
pSpellInfo->aSpellStart = EPaM();
pSpellInfo->aSpellTo = EPaM( EE_PARA_NOT_FOUND, EE_INDEX_NOT_FOUND );
return pSpellInfo;
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 2a132dfc94da..10b60fd894f0 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -326,7 +326,7 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderStyle nStyle )
aImpl = BorderWidthImpl(
BorderWidthImplFlags::CHANGE_LINE1 | BorderWidthImplFlags::CHANGE_LINE2 | BorderWidthImplFlags::CHANGE_DIST,
// fdo#46112 fdo#38542 fdo#43249:
- // non-constant witdths must sum to 1
+ // non-constant widths must sum to 1
1.0/3.0, 1.0/3.0, 1.0/3.0 );
break;
@@ -368,7 +368,7 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderStyle nStyle )
// Engraved / Embossed
/*
- * Word compat: the lines widths are exactly following this rule, shouldbe:
+ * Word compat: the lines widths are exactly following this rule, should be:
* 0.75pt up to 3pt and then 3pt
*/