diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-14 13:38:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-14 13:38:23 +0200 |
commit | c8695c6cce4aaa07ab2d615783d74037abb241b5 (patch) | |
tree | a611b43279dd7b70815becec34edd9c70fb2692f /sd | |
parent | 8db493240a2caced1ab72a9e0fc87d39a6d3f12d (diff) |
Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/HtmlExportTest.cxx | 2 | ||||
-rw-r--r-- | sd/qa/unit/sdmodeltestbase.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/HtmlExportTest.cxx b/sd/qa/unit/HtmlExportTest.cxx index 4ce0a5d4d9dd..a85f4a5bb5dc 100644 --- a/sd/qa/unit/HtmlExportTest.cxx +++ b/sd/qa/unit/HtmlExportTest.cxx @@ -22,7 +22,7 @@ private: { FileFormat* pFormat = getFormat(HTML); OUString aExt = OUString( "." ) + OUString::createFromAscii(pFormat->pName); - utl::TempFile aTempFile(OUString(), &aExt); + utl::TempFile aTempFile(OUString(), true, &aExt); aTempFile.EnableKillingFile(); exportTo(xDocShRef, pFormat, aTempFile); return parseHtml(aTempFile); diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index bc63fa1666bc..bb8292923e5a 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -174,7 +174,7 @@ protected: { FileFormat* pFormat = getFormat(nExportType); OUString aExt = OUString( "." ) + OUString::createFromAscii(pFormat->pName); - utl::TempFile aTempFile(OUString(), &aExt); + utl::TempFile aTempFile(OUString(), true, &aExt); aTempFile.EnableKillingFile(); save(pShell, pFormat, aTempFile); return loadURL(aTempFile.GetURL()); |