summaryrefslogtreecommitdiff
path: root/sc/source/core/data/cell.cxx
diff options
context:
space:
mode:
authorDaniel Bankston <daniel.e.bankston@gmail.com>2012-07-05 18:15:45 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-11 20:37:39 -0400
commitf107e3a5f7cc19957435f1e90617105509394b4d (patch)
treeeff9b1405b9b21bfad9fdc74ac04cc9fb9aeab27 /sc/source/core/data/cell.cxx
parent1cdfb19c2202b56e4de6f10104bb4841372956cb (diff)
Use cached formula results instead of recalculating
This commit undoes some of previous commit in attempt to be less "hackish". -When importing LibreOffice generated ODS documents, use cached formula results instead of always recalcuating. -For other generators, do hard-recalc. Still need to: -Stop matrix formula cells from being set dirty to avoid recalculating them. -Implement special cases for functions that should always be recalculated. Change-Id: I959872aa2f446b80f9204ee26e94de7140f1f6f9
Diffstat (limited to 'sc/source/core/data/cell.cxx')
-rw-r--r--sc/source/core/data/cell.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index e05cde7b9010..c4846c092d25 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -1827,8 +1827,7 @@ void ScFormulaCell::SetDirty()
void ScFormulaCell::SetDirtyVar()
{
- if(!pDocument->IsImportingLiboGenDoc())
- bDirty = true;
+ bDirty = true;
// mark the sheet of this cell to be calculated
//#FIXME do we need to revert this remnant of old fake vba events? pDocument->AddCalculateTable( aPos.Tab() );
}