diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-29 09:59:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-01 09:58:56 +0200 |
commit | 55bc128636596032c23ee855904822ad813986fc (patch) | |
tree | ba097deaf15579f0148a68679d915e3ba25d52c4 /formula | |
parent | c9fd4aa8aa969ef2b669813acee15d6efcf1ecde (diff) |
loplugin:loopvartoosmall
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 6 |
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(); } |