cppcheck: help it a bit to not fail with syntax error in its AST
Change-Id: I22e1405b2ad94ec4d47011c3f11d108a1bde4fba
This commit is contained in:
@@ -327,8 +327,8 @@ void sw_GetJoinFlags( SwPaM& rPam, bool& rJoinText, bool& rJoinPrev )
|
|||||||
rJoinPrev = rPam.GetPoint() == pStt;
|
rJoinPrev = rPam.GetPoint() == pStt;
|
||||||
OSL_ENSURE( !pStt->nContent.GetIndex() &&
|
OSL_ENSURE( !pStt->nContent.GetIndex() &&
|
||||||
pEndNd->GetText().getLength() != pEnd->nContent.GetIndex()
|
pEndNd->GetText().getLength() != pEnd->nContent.GetIndex()
|
||||||
? rPam.GetPoint()->nNode < rPam.GetMark()->nNode
|
? (rPam.GetPoint()->nNode < rPam.GetMark()->nNode)
|
||||||
: rPam.GetPoint()->nNode > rPam.GetMark()->nNode,
|
: (rPam.GetPoint()->nNode > rPam.GetMark()->nNode),
|
||||||
"sw_GetJoinFlags");
|
"sw_GetJoinFlags");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user