Kaydet (Commit) 4cc958ec authored tarafından Julien Nabet's avatar Julien Nabet

Simplify erase iterator management

Change-Id: I3822566e01d3c8f5e880264f4dba495d6e467e02
üst c0d31015
...@@ -355,7 +355,7 @@ void SdrMarkView::UndirtyMrkPnt() const ...@@ -355,7 +355,7 @@ void SdrMarkView::UndirtyMrkPnt() const
{ {
sal_uInt16 nId=*it; sal_uInt16 nId=*it;
if (pGPL->FindGluePoint(nId)==SDRGLUEPOINT_NOTFOUND) { if (pGPL->FindGluePoint(nId)==SDRGLUEPOINT_NOTFOUND) {
pPts->erase(it++); it = pPts->erase(it);
bChg=true; bChg=true;
} }
else else
......
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