summaryrefslogtreecommitdiff
path: root/sc/qa/unit/filters-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/filters-test.cxx')
-rw-r--r--sc/qa/unit/filters-test.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 4e40f57f521a..bf1cb7281b48 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -299,9 +299,11 @@ void ScFiltersTest::testRangeNameODS()
{
const rtl::OUString aFileNameBase(RTL_CONSTASCII_USTRINGPARAM("named-ranges-global."));
ScDocShellRef xDocSh = loadDoc(aFileNameBase, 1);
- xDocSh->DoHardRecalc(true);
CPPUNIT_ASSERT_MESSAGE("Failed to load named-ranges-globals.*", xDocSh.Is());
+
+ xDocSh->DoHardRecalc(true);
+
ScDocument* pDoc = xDocSh->GetDocument();
testRangeNameImpl(pDoc);