diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-06 18:40:53 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-07 00:12:09 +0200 |
commit | 189b3070ebead358aea9bf6bf1cd87d89618e408 (patch) | |
tree | 552137bdaf67c497534108df004bbb71c09df6b7 /sw | |
parent | fe839562e65a5c921dc4f239e931d1a863d1d76d (diff) |
Fix typos
Change-Id: Ib3ada3eb5b7d2699a86f05bb646b71f30d8a7003
Reviewed-on: https://gerrit.libreoffice.org/77041
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/bastyp/calc.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/crsr/trvltbl.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/DocumentRedlineManager.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/doclay.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/fmtcol.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/acorrect.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/undo/unins.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/vdraw.cxx | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 0ba681813caa..123b02b1ff1e 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -503,7 +503,7 @@ SwCalcExp* SwCalc::VarLook( const OUString& rStr, bool bIns ) // Initialize again because this doesn't happen in docfld anymore for // elements != SwFieldIds::Database. E.g. if there is an expression field before - // an DB_Field in a document. + // a DB_Field in a document. const sal_uInt32 nTmpRec = pMgr->GetSelectedRecordId(sSourceName, sTableName); VarChange(sDBNum, nTmpRec); diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx index 1f08b3237e66..a517f79e85e0 100644 --- a/sw/source/core/crsr/trvltbl.cxx +++ b/sw/source/core/crsr/trvltbl.cxx @@ -381,7 +381,7 @@ static bool lcl_FindNextCell( SwNodeIndex& rIdx, bool bInReadOnly ) // we are not located inside a 'valid' cell. We have to continue searching... // skip behind current section. This might be the end of the table cell - // or behind a inner section or... + // or behind an inner section or... aTmp.Assign( *pCNd->EndOfSectionNode(), 1 ); // loop to find a suitable cell... diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 6d491b98c578..cee1fe0e29ea 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -2302,7 +2302,7 @@ bool DocumentRedlineManager::DeleteRedline( const SwPaM& rRange, bool bSaveInUnd case SwComparePosition::Inside: { - // this one needs to be splitted + // this one needs to be split pRedl->InvalidateRange(SwRangeRedline::Invalidation::Remove); if( *pRStt == *pStt ) { diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index 4d8775fa3514..c5f10bdee692 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -1302,7 +1302,7 @@ static void lcl_SetNumUsedBit(std::vector<sal_uInt8>& rSetFlags, size_t nFormatS { OUString sName = rObj.GetName(); lcl_SetNumUsedBit(rSetFlags, nFormatSize, nNmLen, sName, rCmpName); - // tdf#122487 take groups into account, interate and recurse through their + // tdf#122487 take groups into account, iterate and recurse through their // contents for name collision check if (rObj.IsGroupObject()) { diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx index 78e1952a3f98..679e9ff2c768 100644 --- a/sw/source/core/doc/fmtcol.cxx +++ b/sw/source/core/doc/fmtcol.cxx @@ -387,7 +387,7 @@ sal_uInt16 SwTextFormatColl::ResetAllFormatAttr() const bool bOldState( mbStayAssignedToListLevelOfOutlineStyle ); mbStayAssignedToListLevelOfOutlineStyle = true; // #i70748# - // Outline level is no longer a member, it is a attribute now. + // Outline level is no longer a member, it is an attribute now. // Thus, it needs to be restored, if the paragraph style is assigned // to the outline style const int nAssignedOutlineStyleLevel = IsAssignedToListLevelOfOutlineStyle() diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index b7b28213e2ca..36c2324708ef 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -2086,7 +2086,7 @@ bool SwTable::MakeCopy( SwDoc* pInsDoc, const SwPosition& rPos, pTableNd->DelFrames(); { - // Conver the Table formulas to their relative representation + // Convert the Table formulas to their relative representation SwTableFormulaUpdate aMsgHint( this ); aMsgHint.m_eFlags = TBL_RELBOXNAME; pSrcDoc->getIDocumentFieldsAccess().UpdateTableFields( &aMsgHint ); diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 641c074c618c..884bf4c7f0d1 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -992,7 +992,7 @@ SwSectionNode::SwSectionNode(SwNodeIndex const& rIdx, lcl_initParent(*this, rFormat) ) ) { // Set the connection from Format to Node - // Suppress Modify; no one's interessted anyway + // Suppress Modify; no one's interested anyway rFormat.LockModify(); rFormat.SetFormatAttr( SwFormatContent( this ) ); rFormat.UnlockModify(); diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx index 6a32448dd082..45af22ab2176 100644 --- a/sw/source/core/edit/acorrect.cxx +++ b/sw/source/core/edit/acorrect.cxx @@ -526,7 +526,7 @@ LanguageType SwAutoCorrDoc::GetLanguage( sal_Int32 nPos ) const void SwAutoCorrExceptWord::CheckChar( const SwPosition& rPos, sal_Unicode cChr ) { - // test only if this is a improvement. + // test only if this is an improvement. // If yes, then add the word to the list. if (m_cChar == cChr && rPos.nNode.GetIndex() == m_nNode && rPos.nContent.GetIndex() == m_nContent) { diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx index 63ed58035aac..1bf8be8a9855 100644 --- a/sw/source/core/undo/unins.cxx +++ b/sw/source/core/undo/unins.cxx @@ -159,7 +159,7 @@ bool SwUndoInsert::CanGrouping( const SwPosition& rPos ) { bRet = true; - // than there is or was still an active Redline: + // then there is or was still an active Redline: // Check if there is another Redline at the InsPosition. If the // same exists only once, it can be combined. const SwRedlineTable& rTable = rDoc.getIDocumentRedlineAccess().GetRedlineTable(); diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx index 6c844c74a634..695563c7b5d4 100644 --- a/sw/source/core/view/vdraw.cxx +++ b/sw/source/core/view/vdraw.cxx @@ -238,7 +238,7 @@ void SwViewShellImp::NotifySizeChg( const Size &rNewSz ) { // Actually this should never happen but currently layouting // is broken. So don't move anchors, if the page is invalid. - // This should be turned into an DBG_ASSERT, once layouting is fixed! + // This should be turned into a DBG_ASSERT, once layouting is fixed! const SwPageFrame *pPageFrame = pAnchor->FindPageFrame(); if (!pPageFrame || pPageFrame->IsInvalid() ) { SAL_WARN( "sw.core", "Trying to move anchor from invalid page - fix layouting!" ); |