From 4d1a877dbf74b8e6e5908bb2c0eec570a5fb3184 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 9 Jan 2013 07:28:52 +0100 Subject: Revert "fix a few /tmp file leaks" This reverts commit 92045e69dab8be60a1c84774f04c437066c3c2bf. Broke a unit test and made all tinderboxes red. Requested-by: Stephan Bergmann --- sc/qa/unit/subsequent_filters-test.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sc') diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index a7ec15b25bac..f56bd6676e47 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -926,8 +926,6 @@ void ScFiltersTest::testBordersOoo33() } } } - - xDocSh->DoClose(); } void ScFiltersTest::testBugFixesODS() @@ -1770,8 +1768,6 @@ void ScFiltersTest::testColorScaleODS() rtl::OUStringBuffer aBuffer(getSrcRootPath()); aBuffer.append(m_aBaseString).append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/reference/"))); testColorScale_Impl(pDoc, aBuffer.makeStringAndClear()); - - xDocSh->DoClose(); } void ScFiltersTest::testColorScaleXLSX() @@ -1796,8 +1792,6 @@ void ScFiltersTest::testColorScaleXLSX() rtl::OUStringBuffer aBuffer(getSrcRootPath()); aBuffer.append(m_aBaseString).append(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/reference/"))); testColorScale_Impl(pDoc, aBuffer.makeStringAndClear()); - - xDocSh->DoClose(); } void ScFiltersTest::testDataBarODS() @@ -1827,8 +1821,6 @@ void ScFiltersTest::testNewCondFormat() rtl::OUString aCSVPath; createCSVPath( aCSVFile, aCSVPath ); testCondFile(aCSVPath, pDoc, 0); - - xDocSh->DoClose(); } void ScFiltersTest::testFormulaDependency() @@ -1857,8 +1849,6 @@ void ScFiltersTest::testFormulaDependency() // check that the number format is implicity inherited // CPPUNIT_ASSERT_EQUAL(pDoc->GetString(0,4,0), pDoc->GetString(0,5,0)); - - xDocSh->DoClose(); } ScFiltersTest::ScFiltersTest() -- cgit v1.2.3