hwpfilter/source/hwpread.cxx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
New commits: commit 21ece490ff555606cb773fd904fd01b01e384fb6 Author: Caolán McNamara <[email protected]> Date: Sun Mar 9 17:19:09 2014 +0000 coverity#707908 Uninitialized scalar field Change-Id: I867ca635f3bd64b6d5157439dbbf3e9587d51842 diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index a1c1c14..a4f1595 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -527,13 +527,13 @@ bool Line::Read(HWPFile & hwpf) return !hwpf.State(); } - // hidden(15) -Hidden::Hidden():HBox(CH_HIDDEN) +Hidden::Hidden() + : HBox(CH_HIDDEN) + , dummy(0) { } - bool Hidden::Read(HWPFile & hwpf) { hwpf.Read2b(reserved, 2); commit c803de01214221991945dfc7cc999062f3d9893b Author: Caolán McNamara <[email protected]> Date: Sun Mar 9 17:16:04 2014 +0000 coverity#707907 Uninitialized scalar field Change-Id: Ia3025324ecf4385e90ab31771195f7c3d8574eb9 diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 9764157..a1c1c14 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -460,14 +460,20 @@ bool Picture::Read(HWPFile & hwpf) return !hwpf.State(); } - // line(15) - -Line::Line():FBox(CH_LINE) +Line::Line() + : FBox(CH_LINE) + , dummy(0) + , sx(0) + , sy(0) + , ex(0) + , ey(0) + , width(0) + , shade(0) + , color(0) { } - bool Line::Read(HWPFile & hwpf) { hwpf.Read2b(reserved, 2);
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
