Kaydet (Commit) 08bc3e1f authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

unnecessary cast

Change-Id: Ic3d612274809891c3e135d4f05d7d3bdab65b3fb
üst 8748be61
......@@ -1723,7 +1723,7 @@ void SwCompareData::SetRedlinesToDoc( bool bUseDocInfo )
const SwCntntNode* pCNd;
do {
SwPosition& rSttEnd = *pTmp->End(),
& rEndStt = *static_cast<SwPaM*>(pTmp->GetNext())->Start();
& rEndStt = *(pTmp->GetNext())->Start();
if( rSttEnd == rEndStt ||
(!rEndStt.nContent.GetIndex() &&
rEndStt.nNode.GetIndex() - 1 == rSttEnd.nNode.GetIndex() &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment