View | Details | Raw Unified | Return to issue 73682
Collapse All | Expand All

(-)sw/source/core/docnode/nodes.cxx (+10 lines)
Lines 502-507 Link Here
502
502
503
	// "einfache" StartNodes oder EndNodes ueberspringen
503
	// "einfache" StartNodes oder EndNodes ueberspringen
504
504
505
	aRg.aStart--;
506
	if( ND_STARTNODE == (pAktNode = &aRg.aStart.GetNode())->GetNodeType() )
507
	{
508
		GetDoc()->AppendTxtNode( SwPosition( *pAktNode ) );
509
		aRg.aStart++;
510
		aRg.aStart++;
511
	}
512
	else
513
		aRg.aStart++;
514
505
	while( ND_STARTNODE == (pAktNode = &aRg.aStart.GetNode())->GetNodeType()
515
	while( ND_STARTNODE == (pAktNode = &aRg.aStart.GetNode())->GetNodeType()
506
			|| ( pAktNode->IsEndNode() &&
516
			|| ( pAktNode->IsEndNode() &&
507
				!pAktNode->pStartOfSection->IsSectionNode() ) )
517
				!pAktNode->pStartOfSection->IsSectionNode() ) )

Return to issue 73682