diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 10:59:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 11:31:12 +0000 |
commit | f21ed26fc57251dacfcd9b0518f24e539aa1ce26 (patch) | |
tree | 138ae9aa11602e50f07acbe755418a9c235c1608 /hwpfilter | |
parent | 2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3 (diff) |
CID#982604 using invalid iterator
Change-Id: Ic62e84d256ab710c33d51c98750730064388af51
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 6d496a27b52c..04c72cb7b9d2 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -481,7 +481,7 @@ FBoxStyle *HWPFile::getFBoxStyle(int index) break; } - return *it; + return it != fbslist.end() ? *it : 0; } DateCode *HWPFile::getDateCode(int index) |