Kaydet (Commit) fb793876 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

use C++11 iteration

Change-Id: I317f0d6c48f0936cfe2d2f8707e42d9e7b5aad7d
üst 5326f670
......@@ -299,15 +299,12 @@ void SwViewImp::MoveAccessible( const SwFrm *pFrm, const SdrObject *pObj,
const SwRect& rOldFrm )
{
OSL_ENSURE( !pFrm || pFrm->IsAccessibleFrm(), "frame is not accessible" );
SwViewShell *pVSh = GetShell();
SwViewShell *pTmp = pVSh;
do
for(SwViewShell& rTmp : GetShell()->GetRingContainer())
{
if( pTmp->Imp()->IsAccessible() )
pTmp->Imp()->GetAccessibleMap().InvalidatePosOrSize( pFrm, pObj, 0,
if( rTmp.Imp()->IsAccessible() )
rTmp.Imp()->GetAccessibleMap().InvalidatePosOrSize( pFrm, pObj, 0,
rOldFrm );
pTmp = static_cast<SwViewShell *>(pTmp->GetNext());
} while ( pTmp != pVSh );
}
}
void SwViewImp::InvalidateAccessibleFrmContent( const SwFrm *pFrm )
......
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