diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-31 10:57:13 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-31 11:05:31 +0200 |
commit | 3d28cd4df4e951be29294c7ca5b820d711c5a7eb (patch) | |
tree | 9e7a80f8bce92b8ac056404fd2fd86a51007e92b /sc | |
parent | 6bc678d61478ce0f54e14ad2ef0d4897e7bf5763 (diff) |
close the file at the end of the test
Change-Id: I9e0636af65258646572da126e93766552fa1e1df
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index e556d537f120..b6d7d760fcec 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -438,6 +438,8 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape() pDoc = xDocSh->GetDocument(); CPPUNIT_ASSERT(pDoc); impl_testLegacyCellAnchoredRotatedShape( pDoc, aRect, aAnchor ); + + xDocSh->DoClose(); } { // This example doc contains cell anchored shape that is rotated, the @@ -466,6 +468,7 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape() // apply hefty ( 1 mm ) tolerence here, as some opensuse tinderbox // failing impl_testLegacyCellAnchoredRotatedShape( pDoc, aRect, aAnchor, 100 ); + xDocSh->DoClose(); } { @@ -491,6 +494,8 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape() pDoc = xDocSh->GetDocument(); CPPUNIT_ASSERT(pDoc); impl_testLegacyCellAnchoredRotatedShape( pDoc, aRect, aAnchor ); + + xDocSh->DoClose(); } } @@ -509,6 +514,8 @@ void ScFiltersTest::testEnhancedProtectionXLS() CPPUNIT_ASSERT( pProt->isBlockEditable( ScRange( 0, 1, 0, 0, 2, 0))); // union of two different editables CPPUNIT_ASSERT( !pProt->isBlockEditable( ScRange( 0, 0, 0, 0, 1, 0))); // union of locked and editable CPPUNIT_ASSERT( !pProt->isBlockEditable( ScRange( 0, 2, 0, 0, 3, 0))); // union of editable and password editable + + xDocSh->DoClose(); } ScFiltersTest::ScFiltersTest() |