From a363986f9426d36a4f145a077d6a92a7abf29ff6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Mar 2014 10:36:34 +0000 Subject: coverity#738750 Uninitialized pointer field Change-Id: I619f130184eae670ba921843075ab199e952765c --- lotuswordpro/source/filter/lwptablelayout.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index cb222732cbd3..eab19697b2c2 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -417,10 +417,14 @@ void LwpSuperTableLayout::RegisterFrameStyle() } LwpTableLayout::LwpTableLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm) - : LwpLayout(objHdr, pStrm), m_nRows(0), m_nCols(0), m_pXFTable(NULL) + : LwpLayout(objHdr, pStrm) + , m_nRows(0) + , m_nCols(0) + , m_pDefaultCellLayout(NULL) + , m_pColumns(NULL) + , m_pXFTable(NULL) { m_CellsMap.clear(); - m_pColumns = NULL; } LwpTableLayout::~LwpTableLayout() @@ -433,6 +437,7 @@ LwpTableLayout::~LwpTableLayout() m_pColumns = NULL; } } + /** * @short Get neighbour cell by specifying ROW+COL * @param nRow -- cgit