Kaydet (Commit) 4dda036b authored tarafından Noel Grandin's avatar Noel Grandin

coverity#708854 unused pointer value

Change-Id: Ide16dee52116d3f437a564b93fad7464382c7213
üst e4fcf23f
......@@ -959,17 +959,17 @@ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage )
// relative ordnums for the objects on this page.
// skip fly frames from pages before the current page
SwFlyCache* pFlyC;
while( nFlyIdx < nFlyCount && ( pFlyC = pImpl->
GetFlyCache(nFlyIdx) )->nPageNum < nPgNum)
while( nFlyIdx < nFlyCount &&
pImpl->GetFlyCache(nFlyIdx)->nPageNum < nPgNum )
++nFlyIdx;
// sort cached objects on this page by ordnum
std::set< const SwFlyCache*, FlyCacheCompare > aFlyCacheSet;
sal_uInt16 nIdx = nFlyIdx;
while( nIdx < nFlyCount && ( pFlyC = pImpl->
GetFlyCache( nIdx ) )->nPageNum == nPgNum )
SwFlyCache* pFlyC;
while( nIdx < nFlyCount &&
( pFlyC = pImpl->GetFlyCache( nIdx ) )->nPageNum == nPgNum )
{
aFlyCacheSet.insert( pFlyC );
++nIdx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment