summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwprowlayout.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-29 09:59:20 +0200
committerNoel Grandin <noel@peralex.com>2015-06-01 09:58:56 +0200
commit55bc128636596032c23ee855904822ad813986fc (patch)
treeba097deaf15579f0148a68679d915e3ba25d52c4 /lotuswordpro/source/filter/lwprowlayout.cxx
parentc9fd4aa8aa969ef2b669813acee15d6efcf1ecde (diff)
loplugin:loopvartoosmall
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
Diffstat (limited to 'lotuswordpro/source/filter/lwprowlayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwprowlayout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx
index e7bae0f15dfc..63eec38c428d 100644
--- a/lotuswordpro/source/filter/lwprowlayout.cxx
+++ b/lotuswordpro/source/filter/lwprowlayout.cxx
@@ -309,7 +309,7 @@ sal_Int32 LwpRowLayout::FindMarkConnCell(sal_uInt8 nStartCol,sal_uInt8 nEndCol)
sal_uInt16 nSpannRows = 1;
sal_Int32 nMarkConnCell = -1;
- for (sal_uInt16 i=0;i<m_ConnCellList.size();i++)
+ for (size_t i=0;i<m_ConnCellList.size();i++)
{
if (m_ConnCellList[i]->GetColID()>=nEndCol)
break;
@@ -334,7 +334,7 @@ sal_Int32 LwpRowLayout::FindNextMarkConnCell(sal_uInt16 nMarkConnCell,sal_uInt8
{
sal_uInt16 nMaxRows = m_ConnCellList[nMarkConnCell]->GetNumrows();
- for (sal_uInt16 i=nMarkConnCell+1;i<m_ConnCellList.size();i++)
+ for (size_t i=nMarkConnCell+1;i<m_ConnCellList.size();i++)
{
if (m_ConnCellList[i]->GetColID()>=nEndCol)
break;
@@ -446,7 +446,7 @@ void LwpRowLayout::CollectMergeInfo()
void LwpRowLayout::SetCellSplit(sal_uInt16 nEffectRows)
{
LwpConnectedCellLayout* pConnCell;
- for (sal_uInt32 i=0; i<m_ConnCellList.size(); i++)
+ for (size_t i=0; i<m_ConnCellList.size(); i++)
{
pConnCell = m_ConnCellList[i];
sal_uInt16 nRowSpan = pConnCell->GetRowID()+pConnCell->GetNumrows();