summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-19 11:01:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-19 11:31:13 +0000
commit76e02b7fbf57af81446b4449bd5bc3ed4349a923 (patch)
tree340e7d9312aa66032383e3848868add2fd60c107 /hwpfilter
parent8245c5fe1e06f78d2a2ea9d407dbc1b8eaa63cd7 (diff)
CID#982608 using invalid iterator
Change-Id: I0075323a75ea7c8af9738ab3ff9a0c9e2d1346d7
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 b6d3657bf6c6..bf66ca288870 100644
--- a/hwpfilter/source/hwpfile.cxx
+++ b/hwpfilter/source/hwpfile.cxx
@@ -530,7 +530,7 @@ Table *HWPFile::getTable(int index)
break;
}
- return *it;
+ return it != tables.end() ? *it : NULL;
}
void HWPFile::AddParaShape(ParaShape * pshape)