Kaydet (Commit) f365b6f5 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove the temp file after loading

Change-Id: I8ba88cf9b19612800beac5e200bbaeff6da32f97
üst 2f8db10b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment