diff options
Diffstat (limited to 'sw/source/core/undo/untblk.cxx')
-rw-r--r-- | sw/source/core/undo/untblk.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx index f3d7dbecb785..7eb48657e99b 100644 --- a/sw/source/core/undo/untblk.cxx +++ b/sw/source/core/undo/untblk.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,7 +35,7 @@ #include <frmfmt.hxx> #include <doc.hxx> #include <docary.hxx> -#include <swundo.hxx> // fuer die UndoIds +#include <swundo.hxx> // fuer die UndoIds #include <pam.hxx> #include <ndtxt.hxx> #include <undobj.hxx> @@ -61,7 +61,7 @@ SwUndoInserts::SwUndoInserts( SwUndoId nUndoId, const SwPaM& rPam ) if( pTxtNd->HasSwAttrSet() ) pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nSttNode ); - if( !nSttCntnt ) // dann werden Flys mitgenommen !! + if( !nSttCntnt ) // dann werden Flys mitgenommen !! { USHORT nArrLen = pDoc->GetSpzFrmFmts()->Count(); for( USHORT n = 0; n < nArrLen; ++n ) @@ -106,9 +106,9 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, BOOL bScanFlys, nSttNode = pTmpPos->nNode.GetIndex(); nSttCntnt = pTmpPos->nContent.GetIndex(); - if( !bSttIsTxtNd ) // wird eine Tabellenselektion eingefuegt, + if( !bSttIsTxtNd ) // wird eine Tabellenselektion eingefuegt, { - ++nSttNode; // dann stimmt der CopyPam nicht ganz + ++nSttNode; // dann stimmt der CopyPam nicht ganz bSttWasTxtNd = FALSE; } } @@ -147,11 +147,11 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, BOOL bScanFlys, SwUndoInserts::~SwUndoInserts() { - if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array + if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array { // Insert speichert den Inhalt in der IconSection SwNodes& rUNds = pPos->nNode.GetNodes(); - if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen + if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen { SwTxtNode* pTxtNd = pPos->nNode.GetNode().GetTxtNode(); OSL_ENSURE( pTxtNd, "kein TextNode, aus dem geloescht werden soll" ); @@ -231,7 +231,7 @@ void SwUndoInserts::Undo( SwUndoIter& rUndoIter ) SwTxtNode* pTxtNode = rIdx.GetNode().GetTxtNode(); if( pTxtNode ) { - if( !pTxtFmtColl ) // falls 0, dann war hier auch kein TextNode, + if( !pTxtFmtColl ) // falls 0, dann war hier auch kein TextNode, { // dann muss dieser geloescht werden, SwNodeIndex aDelIdx( rIdx ); rIdx++; |