summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /editeng
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
-rw-r--r--editeng/source/editeng/editeng.cxx2
-rw-r--r--editeng/source/editeng/editobj.cxx2
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx4
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--editeng/source/misc/unolingu.cxx2
-rw-r--r--editeng/source/rtf/rtfitem.cxx2
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
11 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 1d25a45085de..eac046e8d002 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1915,7 +1915,7 @@ namespace accessibility
//the text value doesn't contain the bullet characters. all of the bullet and numbering info are exposed
//by the IAText::attributes(). So here must do special support for bullet line.
sal_Int32 nCurIndex=0, nLastIndex=0, nCurLineLen=0;
- sal_Int32 nLastLineLen = 0, nBulletLen = 0;;
+ sal_Int32 nLastLineLen = 0, nBulletLen = 0;
// get the line before the line the index points into
for( nLine=0, nCurIndex=0, nLastIndex=0; nLine<nLineCount; ++nLine )
{
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 39902418c47f..a023b25c2368 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1654,7 +1654,7 @@ void EditEngine::InsertParagraph( sal_Int32 nPara, const EditTextObject& rTxtObj
pImpEditEngine->UndoActionStart( EDITUNDO_INSERT );
- // No Undo componding needed.
+ // No Undo compounding needed.
EditPaM aPaM( pImpEditEngine->InsertParagraph( nPara ) );
// When InsertParagraph from the outside, no hard attributes
// should be taken over!
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 8404c995cd90..ea1e64f74d87 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -117,7 +117,7 @@ ContentInfo::ContentInfo( SfxItemPool& rPool ) :
{
}
-// the real Copy constructor is nonsens, since I have to work with another Pool!
+// the real Copy constructor is nonsense, since I have to work with another Pool!
ContentInfo::ContentInfo( const ContentInfo& rCopyFrom, SfxItemPool& rPoolToUse ) :
maText(rCopyFrom.maText),
aStyle(rCopyFrom.aStyle),
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx
index a3b271b2ebba..63a896620428 100644
--- a/editeng/source/editeng/eertfpar.cxx
+++ b/editeng/source/editeng/eertfpar.cxx
@@ -305,7 +305,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )
EditPaM aStartPaM( pSttNode, rSet.GetSttCnt() );
EditPaM aEndPaM( pEndNode, rSet.GetEndCnt() );
- // If possible adjust the Escapemant-Item:
+ // If possible adjust the Escapement-Item:
const SfxPoolItem* pItem;
// #i66167# adapt font heights to destination MapUnit if necessary
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index de9961bf93b6..328cecb84956 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -2523,7 +2523,7 @@ EditPaM ImpEditEngine::AutoCorrect( const EditSelection& rCurSel, sal_Unicode c,
aSel.Max().SetIndex( aAuto.GetCursor() );
// #i78661 since the SvxAutoCorrect object used here is
- // shared we need to reset the value to it's original state.
+ // shared we need to reset the value to its original state.
pAutoCorrect->SetAutoCorrFlag( CapitalStartSentence, bOldCapitalStartSentence );
}
return aSel.Max();
@@ -4056,7 +4056,7 @@ void ImpEditEngine::CalcHeight( ParaPortion* pPortion )
const SvxULSpaceItem& rPrevULItem = static_cast<const SvxULSpaceItem&>(pPrev->GetNode()->GetContentAttribs().GetItem( EE_PARA_ULSPACE ));
const SvxLineSpacingItem& rPrevLSItem = static_cast<const SvxLineSpacingItem&>(pPrev->GetNode()->GetContentAttribs().GetItem( EE_PARA_SBL ));
- // In realation between WinWord6/Writer3:
+ // In relation between WinWord6/Writer3:
// With a proportional line spacing the paragraph spacing is
// also manipulated.
// Only Writer3: Do not add up, but minimum distance.
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index ad58252a41c4..4c987d3151d5 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -4333,7 +4333,7 @@ OUString ImpEditEngine::convertDigits(const OUString &rString, sal_Int32 nStt, s
// Either sets the digit mode at the output device
void ImpEditEngine::ImplInitDigitMode(OutputDevice* pOutDev, LanguageType eCurLang)
{
- assert(pOutDev); //persumably there isn't any case where pOutDev should be NULL ?
+ assert(pOutDev); //presumably there isn't any case where pOutDev should be NULL?
if (pOutDev)
pOutDev->SetDigitLanguage(ImplCalcDigitLang(eCurLang));
}
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 9e9812e2b4ee..cf5ef20d61f1 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1465,7 +1465,7 @@ SpellInfo * ImpEditEngine::CreateSpellInfo( bool bMultipleDocs )
*pSpellInfo = SpellInfo(); // reset to default values
pSpellInfo->bMultipleDoc = bMultipleDocs;
- // always spell draw objects completely, startting at the top.
+ // always spell draw objects completely, starting at the top.
// (spelling in only a selection or not starting with the top requires
// further changes elsewhere to work properly)
pSpellInfo->aSpellStart = EPaM();
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 8593ed0518fa..e2731d71ebac 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -719,7 +719,7 @@ bool SvxAutoCorrect::FnChgWeightUnderl( SvxAutoCorrDoc& rDoc, const OUString& rT
sal_Int32 , sal_Int32 nEndPos )
{
// Condition:
- // at the beginning: _ or * after Space with the folloeing !Space
+ // at the beginning: _ or * after Space with the following !Space
// at the end: _ or * before Space (word delimiter?)
sal_Unicode cInsChar = rTxt[ nEndPos ]; // underline or bold
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 3f295efa08b5..5396aba786ee 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -458,7 +458,7 @@ LinguMgrExitLstnr::~LinguMgrExitLstnr()
xDesktop->removeEventListener( this );
xDesktop = nullptr; //! release reference to desktop
}
- OSL_ENSURE(!xDesktop.is(), "reference to desktop should be realeased");
+ OSL_ENSURE(!xDesktop.is(), "reference to desktop should be released");
}
void LinguMgrExitLstnr::disposing(const EventObject& rSource)
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index ed9e44481f0c..063707b10a5c 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -662,7 +662,7 @@ SET_FONTALIGNMENT:
nTokenValue *= 10;
// #i66167#
// for the SwRTFParser 'IsCalcValue' will be false and for the EditRTFParser
-// the converiosn takes now place in EditRTFParser since for other reasons
+// the conversion takes now place in EditRTFParser since for other reasons
// the wrong MapUnit might still be use there
// if( IsCalcValue() )
// CalcValue();
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index ef7eb81bb171..7b4fb438705a 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -226,7 +226,7 @@ INSINGLECHAR:
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// First overwrite all (all have to be in one group!!)
- // Could also appear in the RTF-filewithout the IGNORE-Flag; all Groups
+ // Could also appear in the RTF-file without the IGNORE-Flag; all Groups
// with the IGNORE-Flag are overwritten in the default branch.
case RTF_SWG_PRTDATA: