summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:36:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:30 +0000
commita363986f9426d36a4f145a077d6a92a7abf29ff6 (patch)
tree7d19c211818d679d44477dc9473497b23be14bc9 /lotuswordpro
parent623a3455879dc39db9380f3310962c22eb8b6978 (diff)
coverity#738750 Uninitialized pointer field
Change-Id: I619f130184eae670ba921843075ab199e952765c
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx9
1 files changed, 7 insertions, 2 deletions
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