diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-25 12:39:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-27 15:47:54 -0400 |
commit | 9e79d6d1120b7d96333016725f1a51def7b8d0e7 (patch) | |
tree | 5f6f3d421c4f7b569baa31cb6b5d342e57f70260 /sc/source/ui/view/tabview4.cxx | |
parent | b17237a7177e39f6611ccfc39e7758dd542f01e0 (diff) |
Remove duplicate code blocks.
Change-Id: Ie014ec8866d9e3055a6e67bd20503fc6fc26f503
Diffstat (limited to 'sc/source/ui/view/tabview4.cxx')
-rw-r--r-- | sc/source/ui/view/tabview4.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx index 227d3d55bdb9..8140d51650ed 100644 --- a/sc/source/ui/view/tabview4.cxx +++ b/sc/source/ui/view/tabview4.cxx @@ -506,16 +506,7 @@ void ScTabView::InterpretVisible() if (nX2 > MAXCOL) nX2 = MAXCOL; if (nY2 > MAXROW) nY2 = MAXROW; - ScCellIterator aIter(pDoc, ScRange(nX1, nY1, nTab, nX2, nY2, nTab)); - for (bool bHas = aIter.first(); bHas; bHas = aIter.next()) - { - if (aIter.getType() != CELLTYPE_FORMULA) - continue; - - ScFormulaCell* p = aIter.getFormulaCell(); - if (p->GetDirty()) - p->Interpret(); - } + pDoc->InterpretDirtyCells(ScRange(nX1, nY1, nTab, nX2, nY2, nTab)); } } |