summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-06 16:44:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 09:16:25 +0100
commitece57bd9954643e1131ab5da6db589665193fe3b (patch)
tree861c2879c9f1b3b629c4e113006678c986a4d999
parent9390ff136c89dcf21512c07e7c552294fdbbe83f (diff)
CID#705101 try and help coverity out re infinite loop
Change-Id: I4a072d4d3bb510b65d213cf3cd1f5e06c519d830
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index d8bdabdf65c7..40395cb30d38 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -6032,8 +6032,8 @@ WW8_STD* WW8Style::Read1STDFixed( short& rSkip, short* pcbStd )
if( 10 < nRead )
rSt.SeekRel( nRead-10 );
}
- while( !this ); // Trick: obiger Block wird genau einmal durchlaufen
- // und kann vorzeitig per "break" verlassen werden.
+ while( 0 ); // Trick: obiger Block wird genau einmal durchlaufen
+ // und kann vorzeitig per "break" verlassen werden.
if( (0 != rSt.GetError()) || !nRead )
DELETEZ( pStd ); // per NULL den Error melden