diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-11-04 22:08:24 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-11-05 09:23:42 +0100 |
commit | 33ee9829fee1f6b80eb21b7a3d0e5a0f15ddf6f2 (patch) | |
tree | c27686e36c1b25fa8f54515adc5248f1b811d5df /sfx2/qa | |
parent | d3abe0a1fb2f2b546b164280c5562443dc1f4300 (diff) |
clean up some temp files after running tests
Change-Id: Ia28e96cf1f6ec476f202e99877fa80e93d691278
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105314
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2/qa')
-rw-r--r-- | sfx2/qa/cppunit/test_misc.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx index 4ed4ba1fb11a..99c5aa40a696 100644 --- a/sfx2/qa/cppunit/test_misc.cxx +++ b/sfx2/qa/cppunit/test_misc.cxx @@ -113,6 +113,7 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testNoThumbnail) uno::Reference<frame::XStorable> xStorable(xComponent, uno::UNO_QUERY); CPPUNIT_ASSERT(xStorable.is()); utl::TempFile aTempFile; + aTempFile.EnableKillingFile(); uno::Sequence<beans::PropertyValue> aProperties( comphelper::InitPropertySequence({ { "NoThumbnail", uno::makeAny(true) } })); osl::File::remove(aTempFile.GetURL()); |