diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 10:58:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 11:31:11 +0000 |
commit | 2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3 (patch) | |
tree | 793df95ce4b4b59df18a5da9ad4eb384a6395983 /hwpfilter | |
parent | CID#982602 using invalid iterator (diff) | |
download | core-2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3.tar.gz core-2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3.zip |
CID#982603 using invalid iterator
Change-Id: Iab80b282942dca468c314c5742cab62cb9920eb7
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 2fe52204780c..6d496a27b52c 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -468,7 +468,7 @@ CharShape *HWPFile::getCharShape(int index) break; } - return *it; + return it != cslist.end() ? *it : 0; } |