diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /editeng | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/eertfpar.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/frmitems.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 2 | ||||
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 2 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 2 |
13 files changed, 15 insertions, 15 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index e4a5ab8cb22e..8b097ae89597 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -1922,7 +1922,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/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 41b227f1276c..baf72de5fd15 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -2328,7 +2328,7 @@ EditPaM EditDoc::InsertParaBreak( EditPaM aPaM, bool bKeepEndingAttribs ) // for a new paragraph we like to have the bullet/numbering visible by default aContentAttribs.GetItems().Put( SfxBoolItem( EE_PARA_BULLETSTATE, true), EE_PARA_BULLETSTATE ); - // ContenNode constructor copies also the paragraph attributes + // ContentNode constructor copies also the paragraph attributes ContentNode* pNode = new ContentNode( aStr, aContentAttribs ); // Copy the Default Font diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index eb4921c6ffa7..b8297153a66e 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -1653,7 +1653,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 290afd940b27..0364ba12c84f 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -119,7 +119,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), @@ -419,7 +419,7 @@ EditTextObject* EditTextObject::Create( SvStream& rIStream, SfxItemPool* pGlobal if ( rIStream.GetError() ) return nullptr; - EditTextObject* pTxtObj = new EditTextObject(pGlobalTextObjectPool);; + EditTextObject* pTxtObj = new EditTextObject(pGlobalTextObjectPool); pTxtObj->CreateData(rIStream); // Make sure that the stream is left at the correct place. diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 8d7dcf117902..a918adf2e008 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 1f9bc7430b25..97ea3936b7fa 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -2527,7 +2527,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(); @@ -4060,7 +4060,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 2f1465ed4923..5c1ab994d74c 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -4340,7 +4340,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 2a3072353521..beaf19680d3c 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/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 69c18f3ea4db..7968cc75d946 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -3933,7 +3933,7 @@ const GraphicObject* SvxBrushItem::GetGraphicObject(OUString const & referer) co } } - // tdf#94088 if no succeeded, try if the string (which is not epty) contains + // tdf#94088 if no succeeded, try if the string (which is not empty) contains // a 'data:' scheme url and try to load that (embedded graphics) if(!bGraphicLoaded) { diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 7c459f46b818..6568380344ac 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -720,7 +720,7 @@ bool SvxAutoCorrect::FnChgWeightUnderl( SvxAutoCorrDoc& rDoc, const OUString& rT LanguageType eLang ) { // 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 9ae0526d6a5f..68582a73073f 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -663,7 +663,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 71131fdcde78..83a804d343f0 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: |