~ubuntu-branches/ubuntu/raring/calligra/raring-proposed

« back to all changes in this revision

Viewing changes to sheets/DependencyManager.cpp

  • Committer: Package Import Robot
  • Author(s): Howard Chan
  • Date: 2013-03-11 23:25:28 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20130311232528-0q0ebtp848t1iv5k
Tags: 1:2.6.2-0ubuntu1
New upstream release.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
    // Recursion. We need the whole dependency tree of the changed region.
477
477
    // An infinite loop is prevented by the check above.
478
478
    QHash<Sheet*, RTree<Cell>*>::ConstIterator cit = consumers.constFind(cell.sheet());
479
 
    if (cit == consumers.constEnd())
 
479
    if (cit == consumers.constEnd()) {
 
480
        processedCells.remove(cell);
480
481
        return;
 
482
    }
481
483
    const QList<Cell> consumers = cit.value()->contains(cell.cellPosition());
482
484
    foreach (const Cell &c, consumers) {
483
485
        generateDepths(c, computedDepths);