diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-26 19:50:27 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-26 19:55:19 +0200 |
commit | f365b6f57a674afac9ee62a3f47bc6859b263547 (patch) | |
tree | d6c890e7f76a7d0564d41788829d50fe9ec4a681 /sc | |
parent | 2f8db10bdc1bbf2fcb975665f3d9651b9625cc54 (diff) |
remove the temp file after loading
Change-Id: I8ba88cf9b19612800beac5e200bbaeff6da32f97
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 3ea5b109fed2..ba190b9c1ec3 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -105,7 +105,7 @@ ScDocShellRef ScExportTest::saveAndReloadPassword(ScDocShell* pShell, const rtl: { utl::TempFile aTempFile; - //aTempFile.EnableKillingFile(); + aTempFile.EnableKillingFile(); SfxMedium aStoreMedium( aTempFile.GetURL(), STREAM_STD_WRITE ); sal_uInt32 nExportFormat = 0; if (nFormatType) @@ -128,7 +128,7 @@ ScDocShellRef ScExportTest::saveAndReloadPassword(ScDocShell* pShell, const rtl: pShell->DoSaveAs( aStoreMedium ); pShell->DoClose(); - std::cout << "File: " << aTempFile.GetURL() << std::endl; + //std::cout << "File: " << aTempFile.GetURL() << std::endl; sal_uInt32 nFormat = 0; if (nFormatType) |