sw/qa/extras/mailmerge/mailmerge2.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit f732cedc77959489a9bee4d3e6d56901bd5625ed
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Nov 21 20:10:25 2023 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Nov 22 08:28:45 2023 +0100

    CppunitTest_sw_mailmerge2: remove not needed preTest() call
    
    1) preTest() retuns a unique_ptr which has to be hold till the test
       runs, which didn't happen here.
    
    2) This was just copy&paste probably, since preTest() is not overwritten
       in this suite.
    
    Change-Id: Idd8688a82db01d41ac9d0535a907dccc6064c6cc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159796
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/qa/extras/mailmerge/mailmerge2.cxx 
b/sw/qa/extras/mailmerge/mailmerge2.cxx
index c86ae9cc48fb..4a58d07b4f01 100644
--- a/sw/qa/extras/mailmerge/mailmerge2.cxx
+++ b/sw/qa/extras/mailmerge/mailmerge2.cxx
@@ -85,7 +85,6 @@ public:
     {
         maMMTest2Filename = filename;
         header();
-        preTest(filename);
 
         utl::TempFileNamed aTempDir(nullptr, true);
         aTempDir.EnableKillingFile();

Reply via email to