Kaydet (Commit) b9cb27ef authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158515 Unused pointer value

Change-Id: I3c5be18ccd0f79079ed91f0793955b1ebab72586
üst f19dd9ad
...@@ -642,7 +642,8 @@ _SaveRedlEndPosForRestore::_SaveRedlEndPosForRestore( const SwNodeIndex& rInsIdx ...@@ -642,7 +642,8 @@ _SaveRedlEndPosForRestore::_SaveRedlEndPosForRestore( const SwNodeIndex& rInsIdx
sal_uInt16 nFndPos; sal_uInt16 nFndPos;
const SwPosition* pEnd; const SwPosition* pEnd;
SwPosition aSrcPos( rInsIdx, SwIndex( rNd.GetCntntNode(), nCnt )); SwPosition aSrcPos( rInsIdx, SwIndex( rNd.GetCntntNode(), nCnt ));
const SwRangeRedline* pRedl = pDest->GetRedline( aSrcPos, &nFndPos ); pDest->GetRedline( aSrcPos, &nFndPos );
const SwRangeRedline* pRedl;
while( nFndPos-- while( nFndPos--
&& *( pEnd = ( pRedl = pDest->GetRedlineTbl()[ nFndPos ] )->End() ) == aSrcPos && *( pEnd = ( pRedl = pDest->GetRedlineTbl()[ nFndPos ] )->End() ) == aSrcPos
&& *pRedl->Start() < aSrcPos ) && *pRedl->Start() < aSrcPos )
......
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