From 48264d6d478b54859482198a84afb3906ed40cb7 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 23 Nov 2013 16:35:21 +0100 Subject: Improve formatting Change-Id: I0cb8eb5b78ef5ca10d6b8765bff387ca09ec291c --- sw/source/core/docnode/ndsect.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index f45e37450499..30cb489799ab 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -385,8 +385,8 @@ sal_uInt16 SwDoc::IsInsRegionAvailable( const SwPaM& rRange, if( rRange.HasMark() ) { // See if we have a valid Section - const SwPosition* pStt = rRange.Start(), - * pEnd = rRange.End(); + const SwPosition* pStt = rRange.Start(); + const SwPosition* pEnd = rRange.End(); const SwCntntNode* pCNd = pEnd->nNode.GetNode().GetCntntNode(); const SwNode* pNd = &pStt->nNode.GetNode(); @@ -397,9 +397,9 @@ sal_uInt16 SwDoc::IsInsRegionAvailable( const SwPaM& rRange, // Try to create an enclosing Section, but only if Start is // located at the Section's beginning and End at it's end nRet = 0; - if( !pStt->nContent.GetIndex() && pSectNd->GetIndex() - == pStt->nNode.GetIndex() - 1 && pEnd->nContent.GetIndex() == - pCNd->Len() ) + if( !pStt->nContent.GetIndex() + && pSectNd->GetIndex() == pStt->nNode.GetIndex() - 1 + && pEnd->nContent.GetIndex() == pCNd->Len() ) { SwNodeIndex aIdx( pStt->nNode, -1 ); sal_uLong nCmp = pEnd->nNode.GetIndex(); -- cgit