summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndtbl.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /sw/source/core/docnode/ndtbl.cxx
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/core/docnode/ndtbl.cxx')
-rw-r--r--sw/source/core/docnode/ndtbl.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 8e5d2fd12bd0..6208bfc73787 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -1809,7 +1809,7 @@ bool SwDoc::DeleteRow( const SwCursor& rCursor )
// Remove the Crsr from the to-be-deleted Section.
// The Cursor is placed after the table, except for
// - when there's another Line, we place it in that one
- // - when a Line preceeds it, we place it in that one
+ // - when a Line precedes it, we place it in that one
{
SwTableNode* pTblNd = rCursor.GetNode().FindTableNode();
@@ -1857,7 +1857,7 @@ bool SwDoc::DeleteRow( const SwCursor& rCursor )
pNextBox->GetFrmFmt()->GetProtect().IsCntntProtected() )
pNextBox = pNextBox->FindNextBox( pTblNd->GetTable(), pNextBox );
- if( !pNextBox ) // No succeeding Boxes? Then take the preceeding one
+ if( !pNextBox ) // No succeeding Boxes? Then take the preceding one
{
pDelLine = pFndBox->GetLines().front().GetLine();
pDelBox = pDelLine->GetTabBoxes()[ 0 ];
@@ -2330,7 +2330,7 @@ SwTabFrm *SwTableNode::MakeFrm( SwFrm* pSib )
}
/**
- * Creates all Views from the Document for the preceeding Node. The resulting ContentFrames
+ * Creates all Views from the Document for the preceding Node. The resulting ContentFrames
* are added to the corresponding Layout.
*/
void SwTableNode::MakeFrms(const SwNodeIndex & rIdx )
@@ -2352,7 +2352,7 @@ void SwTableNode::MakeFrms(const SwNodeIndex & rIdx )
pNew = pNode->MakeFrm( pFrm );
// Will the Node receive Frames before or after?
if ( bBefore )
- // The new one preceeds me
+ // The new one preceds me
pNew->Paste( pFrm->GetUpper(), pFrm );
else
// The new one succeeds me
@@ -3163,7 +3163,7 @@ bool SwDoc::SplitTable( const SwPosition& rPos, sal_uInt16 eHdlnMode,
switch( eHdlnMode )
{
- // Set the lower Border of the preceeding Line to
+ // Set the lower Border of the preceding Line to
// the upper Border of the current one
case HEADLINE_BORDERCOPY:
{
@@ -3451,7 +3451,7 @@ SwTableNode* SwNodes::SplitTable( const SwNodeIndex& rPos, bool bAfter,
/**
* rPos needs to be in the Table that remains
*
- * @param bWithPrev merge the current Table with the preceeding
+ * @param bWithPrev merge the current Table with the preceding
* or succeeding one
*/
bool SwDoc::MergeTable( const SwPosition& rPos, bool bWithPrev, sal_uInt16 nMode )
@@ -3553,7 +3553,7 @@ bool SwNodes::MergeTable( const SwNodeIndex& rPos, bool bWithPrev,
if( !bWithPrev )
{
- // Transfer all Attributes of the succeeding Table to the preceeding one
+ // Transfer all Attributes of the succeeding Table to the preceding one
// We do this, because the succeeding one is deleted when deleting the Node
rTbl.SetRowsToRepeat( rDelTbl.GetRowsToRepeat() );
rTbl.SetTblChgMode( rDelTbl.GetTblChgMode() );
@@ -3574,7 +3574,7 @@ bool SwNodes::MergeTable( const SwNodeIndex& rPos, bool bWithPrev,
rTbl.GetTabSortBoxes().insert( rDelTbl.GetTabSortBoxes() );
rDelTbl.GetTabSortBoxes().clear();
- // The preceeding Table always remains, while the succeeding one is deleted
+ // The preceding Table always remains, while the succeeding one is deleted
SwEndNode* pTblEndNd = pDelTblNd->EndOfSectionNode();
pTblNd->pEndOfSection = pTblEndNd;