diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-08 11:31:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-08 11:31:30 +0200 |
commit | 7f96d6d5b6dfcb3970fefaca74f004fad071297e (patch) | |
tree | 304ec5ad265fc3f01334aa3114a9dc570df71b74 /sc/qa | |
parent | 4036cf9ede88a41c16e2b77483e07c9e3d58399f (diff) |
Keep files of failing tests around
(Arguably, such files should be stored in a workdir/CppunitTest/... directory
removed and freshly created before every test run, instead of in TMPDIR.)
Change-Id: Ibf1f54fd3d3f9c354c12067e671196e182ef7159
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index b5d9a17561f2..9db7c6e807c1 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -609,7 +609,6 @@ ScDocShellRef ScBootstrapFixture::saveAndReload( { utl::TempFile aTempFile; - aTempFile.EnableKillingFile(); SfxMedium aStoreMedium( aTempFile.GetURL(), STREAM_STD_WRITE ); sal_uInt32 nExportFormat = 0; if (nFormatType == ODS_FORMAT_TYPE) @@ -634,6 +633,7 @@ ScDocShellRef ScBootstrapFixture::saveAndReload( validate(aTempFile.GetFileName(), test::OOXML); else if (nFormatType == ODS_FORMAT_TYPE) validate(aTempFile.GetFileName(), test::ODF); + aTempFile.EnableKillingFile(); return xDocSh; } |