Kaydet (Commit) 3f0a8dc3 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707905 Uninitialized scalar field

Change-Id: Icb00858146d65963a1c3144a61aa467d7da461e4
üst 1ac855e8
...@@ -637,13 +637,16 @@ bool NewNum::Read(HWPFile & hwpf) ...@@ -637,13 +637,16 @@ bool NewNum::Read(HWPFile & hwpf)
return !hwpf.State(); return !hwpf.State();
} }
// show page number (20) // 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) bool ShowPageNum::Read(HWPFile & hwpf)
{ {
hwpf.Read2b(&where, 1); hwpf.Read2b(&where, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment