summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpread.cxx')
-rw-r--r--hwpfilter/source/hwpread.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index dd9bc917b522..c98b85dbe4b5 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -698,13 +698,14 @@ bool PageNumCtrl::Read(HWPFile & hwpf)
return !hwpf.State();
}
-
// mail merge(22)
-MailMerge::MailMerge():HBox(CH_MAIL_MERGE)
+MailMerge::MailMerge()
+ : HBox(CH_MAIL_MERGE)
+ , dummy(0)
{
+ memset(field_name, 0, sizeof(field_name));
}
-
bool MailMerge::Read(HWPFile & hwpf)
{
hwpf.Read1b(field_name, 20);