diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-13 03:21:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-13 03:29:36 +0200 |
commit | 52f56d24019255561e60ea6375acf16462948300 (patch) | |
tree | a37d38c466de3984fc08be6475c5274b930dd9e2 /sc | |
parent | e7cd70302caec7d3cd06b4e72d3425b21cede3c0 (diff) |
force always a full recalculation for ods, xls and xlsx in unit test
we can't assume that always all formulas are recalculated, we might used
cached results
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index b07af3adc6f9..464cbff66a0b 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -196,6 +196,8 @@ ScDocShellRef FiltersTest::load(const rtl::OUString &rFilter, const rtl::OUStrin if (!xDocShRef->DoLoad(&aSrcMed)) // load failed. xDocShRef.Clear(); + else if (nFormat) + xDocShRef->DoHardRecalc(true); return xDocShRef; } |