From 4b95451f859bac8e05956ce12df17f1ee410032d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Sep 2022 20:54:00 +0200 Subject: split utl::TempFile into fast and named variants which makes it easier to know what each variant requires to stay on it's happy path Change-Id: I3275a2543573367714bc78092e882f6535507285 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140469 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlscript/qa/cppunit/test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlscript') diff --git a/xmlscript/qa/cppunit/test.cxx b/xmlscript/qa/cppunit/test.cxx index aa8bd934ea14..92c543e36f6d 100644 --- a/xmlscript/qa/cppunit/test.cxx +++ b/xmlscript/qa/cppunit/test.cxx @@ -138,7 +138,7 @@ void XmlScriptTest::testBasicElements() CPPUNIT_ASSERT(xModel.is()); // Export - utl::TempFile aTempFile; + utl::TempFileNamed aTempFile; aTempFile.EnableKillingFile(); exportToFile(aTempFile.GetURL(), xModel); @@ -196,7 +196,7 @@ void XmlScriptTest::testEmptyPopupItems() CPPUNIT_ASSERT(xModel.is()); // Export - utl::TempFile aTempFile; + utl::TempFileNamed aTempFile; aTempFile.EnableKillingFile(); exportToFile(aTempFile.GetURL(), xModel); -- cgit