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

use C++11 iteration

Change-Id: I30a252d2d518a361e16050f6eeffbe4371a9c982
üst e04d4d19
......@@ -537,11 +537,8 @@ void SwShellCrsr::FillRects()
void SwShellCrsr::Show()
{
SwShellCrsr * pTmp = this;
do {
if (pTmp)
pTmp->SwSelPaintRects::Show();
} while( this != ( pTmp = dynamic_cast<SwShellCrsr*>(pTmp->GetNext()) ) );
for(SwPaM& rTmp : GetRingContainer())
dynamic_cast<SwShellCrsr*>(&rTmp)->SwSelPaintRects::Show();
}
// This rectangle gets painted anew, therefore the SSelection in this
......
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