summaryrefslogtreecommitdiffstats
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-19 10:58:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-19 11:31:11 +0000
commit2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3 (patch)
tree793df95ce4b4b59df18a5da9ad4eb384a6395983 /hwpfilter
parentCID#982602 using invalid iterator (diff)
downloadcore-2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3.tar.gz
core-2e8c0b42cd54c60e14a5b037f1f6e508f14c4cb3.zip
CID#982603 using invalid iterator
Change-Id: Iab80b282942dca468c314c5742cab62cb9920eb7
Diffstat (limited to 'hwpfilter')
-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 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;
}