diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-23 14:03:48 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 14:25:25 +0200 |
commit | 3e7004c3acb1807aa758d84f7b44ba867196b7b5 (patch) | |
tree | a2fddcb37716ce267789f50159a1c7e8d84d2c1d /sw/source/uibase/wrtsh | |
parent | 4f2b97d4c763b711992968f86b4cbf36342681f7 (diff) |
sal_uInt16 to size_t/bool in SwInputFieldList
Change-Id: Ib54e747abaf4e7a911dd3986d27f21a96eaa6120
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index 3b1896cd9209..4062aef7f9a7 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -137,14 +137,14 @@ void SwWrtShell::UpdateInputFlds( SwInputFieldList* pLst ) if( !pTmp ) pTmp = new SwInputFieldList( this ); - const sal_uInt16 nCnt = pTmp->Count(); + const size_t nCnt = pTmp->Count(); if(nCnt) { pTmp->PushCrsr(); bool bCancel = false; OString aDlgPos; - for( sal_uInt16 i = 0; i < nCnt && !bCancel; ++i ) + for( size_t i = 0; i < nCnt && !bCancel; ++i ) { pTmp->GotoFieldPos( i ); SwField* pField = pTmp->GetField( i ); |