diff options
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index d0b37c496f58..a5ba049de171 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -637,13 +637,16 @@ bool NewNum::Read(HWPFile & hwpf) return !hwpf.State(); } - // show page number (20) -ShowPageNum::ShowPageNum():HBox(CH_SHOW_PAGE_NUM) +ShowPageNum::ShowPageNum() + : HBox(CH_SHOW_PAGE_NUM) + , where(0) + , m_nPageNumber(0) + , shape(0) + , dummy(0) { } - bool ShowPageNum::Read(HWPFile & hwpf) { hwpf.Read2b(&where, 1); |