summaryrefslogtreecommitdiff
path: root/hwpfilter/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-19 10:57:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-19 11:31:11 +0000
commit70cb503206860eefde1efdcd0e3e8aa382ed381e (patch)
tree5cf2593d83139d1205aa2ef67797933b3e57e452 /hwpfilter/source
parent9398d4256b9886a849654cbb4f3ec960ceeb441d (diff)
CID#982602 using invalid iterator
Change-Id: I20d61539900626ebd5e8271e0db5ea3c22cf381e
Diffstat (limited to 'hwpfilter/source')
-rw-r--r--hwpfilter/source/hwpfile.cxx2
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)