summaryrefslogtreecommitdiff
path: root/oox/qa
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-11-04 22:08:24 +0100
committerAndras Timar <andras.timar@collabora.com>2020-11-05 09:23:42 +0100
commit33ee9829fee1f6b80eb21b7a3d0e5a0f15ddf6f2 (patch)
treec27686e36c1b25fa8f54515adc5248f1b811d5df /oox/qa
parentd3abe0a1fb2f2b546b164280c5562443dc1f4300 (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 'oox/qa')
-rw-r--r--oox/qa/unit/drawingml.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/qa/unit/drawingml.cxx b/oox/qa/unit/drawingml.cxx
index 6a0415b257f2..0dd0f0991154 100644
--- a/oox/qa/unit/drawingml.cxx
+++ b/oox/qa/unit/drawingml.cxx
@@ -88,6 +88,7 @@ void OoxDrawingmlTest::loadAndReload(const OUString& rURL, const OUString& rFilt
utl::MediaDescriptor aMediaDescriptor;
aMediaDescriptor["FilterName"] <<= rFilterName;
utl::TempFile aTempFile;
+ aTempFile.EnableKillingFile();
xStorable->storeToURL(aTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList());
mxComponent->dispose();
validate(aTempFile.GetFileName(), test::OOXML);