hwpfilter/source/hwpread.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
New commits: commit af06eb691ef760c80cb4a92b81b70404a6e63c6e Author: Caolán McNamara <[email protected]> Date: Sun Mar 9 17:11:06 2014 +0000 coverity#707906 Uninitialized scalar field Change-Id: Id950d4b575f49c45f5564b3a2d0e1be36ec3d572 diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index a5ba049..9764157 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -542,14 +542,17 @@ bool Hidden::Read(HWPFile & hwpf) return !hwpf.State(); } - // header/footer(16) -HeaderFooter::HeaderFooter():HBox(CH_HEADER_FOOTER) +HeaderFooter::HeaderFooter() + : HBox(CH_HEADER_FOOTER) + , dummy(0) + , type(0) + , where(0) + , linenumber(0) + , m_nPageNumber(0) { - linenumber = 0; } - bool HeaderFooter::Read(HWPFile & hwpf) { hwpf.Read2b(reserved, 2);
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
