summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-14 13:38:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-14 13:38:23 +0200
commitc8695c6cce4aaa07ab2d615783d74037abb241b5 (patch)
treea611b43279dd7b70815becec34edd9c70fb2692f /sd
parent8db493240a2caced1ab72a9e0fc87d39a6d3f12d (diff)
Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/HtmlExportTest.cxx2
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx2
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());