diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-02 15:52:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-02 20:08:23 +0000 |
commit | 8b76723f5880e5ae806047e3c2f33e97be44f566 (patch) | |
tree | d56abdeaaa8640eb3f32fa1b75d28f99899f3d23 /sw | |
parent | 3229dfb4ce37d5e75dbb42a889f6ce607ba13fc1 (diff) |
coverity#735954 Dereference after null check
Change-Id: I5f3b296b725a7a8bc342813dd2896fba861652f2
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 93a0e262e3af..e703639418f4 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -2984,6 +2984,9 @@ void WW8PLCFx_Fc_FKP::advance() return; } + if (!pFkp) + return; + pFkp->advance(); if( pFkp->Where() == WW8_FC_MAX ) NewFkp(); |