diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-01-08 18:20:16 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-01-08 18:21:06 +0000 |
commit | 92045e69dab8be60a1c84774f04c437066c3c2bf (patch) | |
tree | e979301cf5877328a188ce2b23fa4c6db69ca340 /sc | |
parent | 28c7e8fb60596c20dedc87c22510a937d6fd30fc (diff) |
fix a few /tmp file leaks
Thanks to Jean-Baptiste Faure for digging for these.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index f56bd6676e47..a7ec15b25bac 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -926,6 +926,8 @@ void ScFiltersTest::testBordersOoo33() } } } + + xDocSh->DoClose(); } void ScFiltersTest::testBugFixesODS() @@ -1768,6 +1770,8 @@ 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() @@ -1792,6 +1796,8 @@ 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() @@ -1821,6 +1827,8 @@ void ScFiltersTest::testNewCondFormat() rtl::OUString aCSVPath; createCSVPath( aCSVFile, aCSVPath ); testCondFile(aCSVPath, pDoc, 0); + + xDocSh->DoClose(); } void ScFiltersTest::testFormulaDependency() @@ -1849,6 +1857,8 @@ 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() |