diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-10 15:37:46 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-10 17:28:53 -0400 |
commit | 304e6144c66affd7adcea66f72fb5757eddfb12f (patch) | |
tree | de8dcd4d7d96e0775b70753fb869df8357f25456 /sc/qa | |
parent | c59b3d6c5c8096486730007d9b9b053793b90b1e (diff) |
fdo#74747: Test cached numeric results too just to be safe.
Change-Id: I00c68694859fdb9a2f31f50cb3c63984ed146146
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index b0011b33ac86..90da87cb7602 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -1232,11 +1232,14 @@ void ScExportTest::testSharedFormulaExportXLSX() ScDocShellRef xDocSh = loadDoc("shared-formula/3d-reference.", XLSX); CPPUNIT_ASSERT_MESSAGE("Failed to load file.", xDocSh.Is()); ScDocument* pDoc = xDocSh->GetDocument(); - pDoc->CalcAll(); // Recalculate to flush all cached results. bool bRes = aTest.checkContent(pDoc); CPPUNIT_ASSERT_MESSAGE("Content check on the initial document failed.", bRes); + pDoc->CalcAll(); // Recalculate to flush all cached results. + bRes = aTest.checkContent(pDoc); + CPPUNIT_ASSERT_MESSAGE("Content check on the initial recalculated document failed.", bRes); + // Save and reload, and check the content again. ScDocShellRef xDocSh2 = saveAndReload(xDocSh, XLSX); xDocSh->DoClose(); |