Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 22496 → Rev 22497

/branches/Version14x/Scribus/scribus/plugins/tools/2geomtools/lib2geom/quadtree.cpp
105,15 → 105,16
}
q->data.push_back(shape);
}
 
void QuadTree::erase(Quad *q, int shape) {
for(Quad::iterator i = q->data.begin(); i != q->data.end(); i++) {
Quad::iterator i = q->data.begin();
while(i != q->data.end()) {
if(*i == shape) {
q->data.erase(i);
if(q->data.empty()) {
 
i = q->data.erase(i);
continue;
}
i++;
}
}
return;
}