sw/qa/extras/inc/swmodeltestbase.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 83a8cbf07bdb8d10cf18ae7d644aa3abe0b3c2db
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Fri Mar 27 11:06:43 2020 +0100
Commit:     Jan Holesovsky <ke...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Jan Holesovsky <ke...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to