diff options
author | Jan Holesovsky <kendy@collabora.com> | 2020-03-27 11:06:43 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2020-03-27 16:23:38 +0100 |
commit | 83a8cbf07bdb8d10cf18ae7d644aa3abe0b3c2db (patch) | |
tree | 3541a4103d94131688b5f3ab988c5957a4a57081 /sw/qa/extras | |
parent | 2454de2deae39724efd8c04c485a0fc23d6d1b7a (diff) |
Revert "sw unit testing: Don't force EnableKillingFile() in save()."
This reverts commit 0d1e49036820e7b9c0d063305e0773ea3e42ea80.
Reason for revert: Turns out the default value for killing files is
"false", so I'm sure we'd start leaking output files left and right.
Change-Id: I91f88bc7afca3a9789c95595c14b062874ec6e05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91170
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r-- | sw/qa/extras/inc/swmodeltestbase.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index 57da6dc60c83..d3d64c8ea434 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -861,6 +861,7 @@ protected: /// Save the loaded document to a tempfile. Can be used to check the resulting docx/odt directly as a ZIP file. void save(const OUString& aFilterName, utl::TempFile& rTempFile) { + rTempFile.EnableKillingFile(); uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY); utl::MediaDescriptor aMediaDescriptor; aMediaDescriptor["FilterName"] <<= aFilterName; |