diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-28 12:21:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-06 08:51:22 +0200 |
commit | 296329a926877d069f55364a177d734f385ce7ae (patch) | |
tree | d95dff15946339b5a2df8c7c29159b97137ee30e /sw/source/core/crsr/findtxt.cxx | |
parent | ebeff1814cbecfba9bbeaeba8067b58f71703a39 (diff) |
convert xub_StrLen to sal_Int32
convert for loops using xub_StrLen to use sal_Int32
Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
Diffstat (limited to 'sw/source/core/crsr/findtxt.cxx')
-rw-r--r-- | sw/source/core/crsr/findtxt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx index d38a5aa04b14..dd015348af08 100644 --- a/sw/source/core/crsr/findtxt.cxx +++ b/sw/source/core/crsr/findtxt.cxx @@ -183,7 +183,7 @@ xub_StrLen GetPostIt(xub_StrLen aCount,const SwpHints *pHts) xub_StrLen aIndex = 0; while (aCount) { - for (xub_StrLen i = 0; i <pHts->Count();i++) + for (sal_Int32 i = 0; i < pHts->Count(); i++ ) { aIndex++; const SwTxtAttr* pTxtAttr = (*pHts)[i]; @@ -197,7 +197,7 @@ xub_StrLen GetPostIt(xub_StrLen aCount,const SwpHints *pHts) } } // throw away all following non postits - for (xub_StrLen i = aIndex; i <pHts->Count();i++) + for( sal_Int32 i = aIndex; i < pHts->Count(); i++ ) { const SwTxtAttr* pTxtAttr = (*pHts)[i]; if ( (pTxtAttr->Which()==RES_TXTATR_FIELD) && @@ -266,7 +266,7 @@ bool SwPaM::Find( const SearchOptions& rSearchOpt, bool bSearchInNotes , utl::Te nStart = swap; } - for (xub_StrLen i = 0; i <pHts->Count();i++) + for( sal_Int32 i = 0; i < pHts->Count(); i++ ) { xub_StrLen aPos = *(*pHts)[i]->GetStart(); const SwTxtAttr* pTxtAttr = (*pHts)[i]; |