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

use C++11 iteration

Change-Id: I388df85bf547fd159741938307db6e04e6f0a336
üst 0426f294
......@@ -941,14 +941,11 @@ void SwViewShell::CalcLayout()
void SwViewShell::SetFirstVisPageInvalid()
{
SwViewShell *pSh = this;
do
for(SwViewShell& rSh : GetRingContainer())
{
if ( pSh->Imp() )
pSh->Imp()->SetFirstVisPageInvalid();
pSh = static_cast<SwViewShell*>(pSh->GetNext());
} while ( pSh != this );
if ( rSh.Imp() )
rSh.Imp()->SetFirstVisPageInvalid();
}
}
void SwViewShell::SizeChgNotify()
......
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