diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-06 16:42:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-07 09:16:25 +0100 |
commit | 9390ff136c89dcf21512c07e7c552294fdbbe83f (patch) | |
tree | b93f5cb41ce4bc74885cc96da4e59edc6222df87 | |
parent | 80afec77c21a88fc19626d5faf931ac5af5e86f1 (diff) |
CID#705102 try and help coverity out re infinite loop
Change-Id: I04fee0ebe13e6f3ab8f517c99929d30ecbc7fd62
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 43565104115f..d8bdabdf65c7 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -5956,8 +5956,8 @@ WW8Style::WW8Style(SvStream& rStream, WW8Fib& rFibPara) if( 20 < nRead ) rSt.SeekRel( nRead-20 ); } - 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. nRemaining -= cbStshi; |