[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sw/qa
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 27 15:24:17 UTC 2020
sw/qa/extras/inc/swmodeltestbase.hxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 83a8cbf07bdb8d10cf18ae7d644aa3abe0b3c2db
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Fri Mar 27 11:06:43 2020 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Fri Mar 27 16:23:38 2020 +0100
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 at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
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;
More information about the Libreoffice-commits
mailing list