summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwptablelayout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-12 21:00:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 10:16:07 +0100
commitb7af008a35f48b821dd95f3d2d945f254bf4ed26 (patch)
tree4ea4e0a6f0eed32e72f8c043b94cc2bfafebb165 /lotuswordpro/source/filter/lwptablelayout.cxx
parent46a924d34890f64e168ab247bcdad47cfc44a889 (diff)
remove first chunk of lotuswordpro warnings
Diffstat (limited to 'lotuswordpro/source/filter/lwptablelayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx
index d943fda92873..cf427574abc1 100644
--- a/lotuswordpro/source/filter/lwptablelayout.cxx
+++ b/lotuswordpro/source/filter/lwptablelayout.cxx
@@ -429,7 +429,7 @@ void LwpSuperTableLayout::RegisterFrameStyle()
}
LwpTableLayout::LwpTableLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm)
- : LwpLayout(objHdr, pStrm),m_pXFTable(NULL), m_nRows(0), m_nCols(0)
+ : LwpLayout(objHdr, pStrm), m_nRows(0), m_nCols(0), m_pXFTable(NULL)
{
m_CellsMap.clear();
m_pColumns = NULL;
@@ -466,11 +466,10 @@ LwpCellLayout * LwpTableLayout::GetCellByRowCol(sal_uInt16 nRow, sal_uInt16 nCol
*/
void LwpTableLayout::TraverseTable()
{
- sal_uInt32 iLoop, jLoop;
sal_uInt32 nCount = m_nRows*m_nCols;
// new cell map nRow*nCOl and initialize
- for(iLoop = 0;iLoop<nCount; iLoop++)
+ for (sal_uInt32 iLoop = 0; iLoop < nCount; ++iLoop)
{
m_WordProCellsMap.push_back(GetDefaultCellLayout());
}
@@ -1346,8 +1345,6 @@ void LwpTableLayout::ConvertDefaultRow(XFTable* pXFTable,sal_uInt8 nStartCol,
// current row doesn't exist in the file
XFRow * pRow = new XFRow();
pRow->SetStyleName(m_DefaultRowStyleName);
- sal_Bool bIsTop = sal_False;
- sal_Bool bIsRight = sal_False;
for (sal_uInt16 j =0;j < nEndCol-nStartCol; j++)
{