summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpread.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index c98b85dbe4b5..5763a5b757b9 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -775,15 +775,16 @@ bool TocMark::Read(HWPFile & hwpf)
return !hwpf.State();
}
-
// index mark(26)
IndexMark::IndexMark()
: HBox(CH_INDEX_MARK)
+ , pgno(0)
, dummy(0)
{
+ memset(keyword1, 0, sizeof(keyword1));
+ memset(keyword2, 0, sizeof(keyword2));
}
-
bool IndexMark::Read(HWPFile & hwpf)
{
hwpf.Read2b(&keyword1, 60);