diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-10-27 00:24:50 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-16 16:52:42 +0100 |
commit | bd17413bef117a80ccfc2b7f5bbd794a6491e9b7 (patch) | |
tree | 3fe7dd1da2640770059951ba7c0cb91885513ef3 /sw/source/core/layout/layouter.cxx | |
parent | bed58e399aaf1ee0292dc64808948780199e730a (diff) |
sal_uInt16 to more proper integer types, make some constification
Change-Id: I474006e128788336680e28c9f73d4a26e68541c6
Diffstat (limited to 'sw/source/core/layout/layouter.cxx')
-rw-r--r-- | sw/source/core/layout/layouter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx index 8d88f9a60bbf..f4368403789a 100644 --- a/sw/source/core/layout/layouter.cxx +++ b/sw/source/core/layout/layouter.cxx @@ -104,7 +104,7 @@ void SwEndnoter::CollectEndnote( SwFtnFrm* pFtn ) } else if( pEndArr ) { - for ( sal_uInt16 i = 0; i < pEndArr->size(); ++i ) + for ( size_t i = 0; i < pEndArr->size(); ++i ) { SwFtnFrm *pEndFtn = (*pEndArr)[i]; if( pEndFtn->GetAttr() == pFtn->GetAttr() ) @@ -161,7 +161,7 @@ void SwLooping::Control( SwPageFrm* pPage ) { if( !pPage ) return; - sal_uInt16 nNew = pPage->GetPhyPageNum(); + const sal_uInt16 nNew = pPage->GetPhyPageNum(); if( nNew > nMaxPage ) nMaxPage = nNew; if( nNew < nMinPage ) |