diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-12-25 17:06:46 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-12-25 18:21:11 +0100 |
commit | 257ff5bea3a40646e7dae88f708c136be93ed1b2 (patch) | |
tree | 3bc51290ad3821f34f4de68d9596c795aa633562 /sw/source/core/layout/laycache.cxx | |
parent | d07f0997c54e9cef31d996ebeb2aabfb4b4e0265 (diff) |
sal_uInt16 to size_t
Change-Id: I66239d89049f1386e5725e540c4dcc2b09c3ebf0
Diffstat (limited to 'sw/source/core/layout/laycache.cxx')
-rw-r--r-- | sw/source/core/layout/laycache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index c9374ba1cf68..c91f22c81872 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -912,7 +912,7 @@ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage ) { if( !pImpl || !pPage ) return; - sal_uInt16 nFlyCount = pImpl->GetFlyCount(); + const size_t nFlyCount = pImpl->GetFlyCount(); // Any text frames at the page, fly cache available? if( pPage->GetSortedObjs() && nFlyIdx < nFlyCount ) { @@ -929,7 +929,7 @@ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage ) // sort cached objects on this page by ordnum std::set< const SwFlyCache*, FlyCacheCompare > aFlyCacheSet; - sal_uInt16 nIdx = nFlyIdx; + size_t nIdx = nFlyIdx; SwFlyCache* pFlyC; while( nIdx < nFlyCount && |