summaryrefslogtreecommitdiff
path: root/formula
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 /formula
parentc9fd4aa8aa969ef2b669813acee15d6efcf1ecde (diff)
loplugin:loopvartoosmall
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 425593d1507b..7fcb6bd207b1 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -883,7 +883,7 @@ void FormulaDlg_Impl::FillControls(bool &rbNext, bool &rbPrev)
sal_Int32 nEditPos = pMEdit->GetSelection().Min();
bool bFlag = false;
- for(sal_uInt16 i=0;i<nArgs;i++)
+ for(sal_Int32 i=0;i<nArgs;i++)
{
sal_Int32 nLength = m_aArguments[i].getLength()+1;
pParaWin->SetArgument(i,m_aArguments[i]);
@@ -1180,7 +1180,7 @@ void FormulaDlg_Impl::SaveArg( sal_uInt16 nEd )
m_aArguments[nEd] = pParaWin->GetArgument(nEd);
sal_uInt16 nClearPos=nEd+1;
- for(sal_uInt16 i=nEd+1; i<nArgs; i++)
+ for(sal_Int32 i=nEd+1; i<nArgs; i++)
{
if( !pParaWin->GetArgument(i).isEmpty() )
{
@@ -1188,7 +1188,7 @@ void FormulaDlg_Impl::SaveArg( sal_uInt16 nEd )
}
}
- for(sal_uInt16 i=nClearPos; i<nArgs; i++)
+ for(sal_Int32 i=nClearPos; i<nArgs; i++)
{
m_aArguments[i].clear();
}