diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 13:30:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 16:42:54 +0100 |
commit | 4a9a10d169653e42028d32ee8e260692ead8cc36 (patch) | |
tree | 2790dd9b1263039c749da6896fc2abc7fed93220 | |
parent | 87ad02d5ad4e192fb9723830169f6ce0736ac2c3 (diff) |
coverity#708868 Unused pointer value
Change-Id: I5d25f7de37df6fe79bb195e1cb68876fb3b4fcca
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index e1c9cedba34c..4d8255b3dd05 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -198,7 +198,7 @@ Writer::NewSwPaM(SwDoc & rDoc, sal_uLong const nStartIdx, sal_uLong const nEndId SwNodeIndex aStt( *pNds, nStartIdx ); SwCntntNode* pCNode = aStt.GetNode().GetCntntNode(); - if( !pCNode && 0 == ( pCNode = pNds->GoNext( &aStt )) ) + if( !pCNode && 0 == pNds->GoNext( &aStt ) ) { OSL_FAIL( "No more ContentNode at StartPos" ); } |