From 3d28cd4df4e951be29294c7ca5b820d711c5a7eb Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 31 Mar 2014 10:57:13 +0200 Subject: close the file at the end of the test Change-Id: I9e0636af65258646572da126e93766552fa1e1df --- sc/qa/unit/filters-test.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sc') 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() -- cgit