]>
Commit | Line | Data |
---|---|---|
4ba74276 AM |
1 | http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/10398 |
2 | ||
3 | === modified file 'src/graphlayout.cpp' | |
4 | --- src/graphlayout.cpp 2010-12-12 08:40:34 +0000 | |
5 | +++ src/graphlayout.cpp 2011-07-02 12:08:37 +0000 | |
6 | @@ -156,11 +156,12 @@ | |
7 | ++i) | |
8 | { | |
9 | SPItem *iu=*i; | |
10 | - map<string,unsigned>::iterator i=nodelookup.find(iu->getId()); | |
11 | - if(i==nodelookup.end()) { | |
12 | + map<string,unsigned>::iterator i_iter=nodelookup.find(iu->getId()); | |
13 | + map<string,unsigned>::iterator i_iter_end=nodelookup.end(); | |
14 | + if(i_iter==i_iter_end) { | |
15 | continue; | |
16 | } | |
17 | - unsigned u=i->second; | |
18 | + unsigned u=i_iter->second; | |
19 | GSList *nlist=iu->avoidRef->getAttachedConnectors(Avoid::runningFrom); | |
20 | list<SPItem *> connectors; | |
21 | ||
22 |