diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 10:57:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 11:31:11 +0000 |
commit | 70cb503206860eefde1efdcd0e3e8aa382ed381e (patch) | |
tree | 5cf2593d83139d1205aa2ef67797933b3e57e452 /hwpfilter | |
parent | 9398d4256b9886a849654cbb4f3ec960ceeb441d (diff) |
CID#982602 using invalid iterator
Change-Id: I20d61539900626ebd5e8271e0db5ea3c22cf381e
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index b1bf470d487d..2fe52204780c 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -399,7 +399,7 @@ HyperText *HWPFile::GetHyperText() } currenthyper++; - return *it; + return it != hyperlist.end() ? *it : NULL; } EmPicture *HWPFile::GetEmPicture(Picture * pic) |