Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 22497 → Rev 22496

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