sw/qa/extras/ooxmlexport/ooxmlexport8.cxx |   16 ----------------
 1 file changed, 16 deletions(-)

New commits:
commit ca81a82cabe650af47cb73cfceb2800932104ae8
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Oct 17 20:10:37 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Oct 18 08:19:04 2023 +0200

    CppunitTest_sw_ooxmlexport8: clean up not needed preTest()
    
    This would set (and unset) custom configuration based on filenames, but
    the suite has no such files anymore, so this can be removed.
    
    Change-Id: I8f1dd40b62adcd71a0e4ae303c5d317943ef438b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158094
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
index 39badeb658ca..8c2261932e7a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
@@ -30,7 +30,6 @@
 #include <com/sun/star/table/TableBorder2.hpp>
 
 #include <tools/UnitConversion.hxx>
-#include <unotools/fltrcfg.hxx>
 #include <comphelper/sequenceashashmap.hxx>
 #include <oox/drawingml/drawingmltypes.hxx>
 #include <xmloff/odffields.hxx>
@@ -46,21 +45,6 @@ class Test : public SwModelTestBase
 {
 public:
     Test() : SwModelTestBase("/sw/qa/extras/ooxmlexport/data/", "Office Open 
XML Text") {}
-
-    virtual std::unique_ptr<Resetter> preTest(const char* filename) override
-    {
-        if (filename == std::string_view("smartart.docx")
-            || filename == std::string_view("strict-smartart.docx") )
-        {
-            std::unique_ptr<Resetter> pResetter(new Resetter(
-                [] () {
-                    SvtFilterOptions::Get().SetSmartArt2Shape(false);
-                }));
-            SvtFilterOptions::Get().SetSmartArt2Shape(true);
-            return pResetter;
-        }
-        return nullptr;
-    }
 };
 
 DECLARE_OOXMLEXPORT_TEST(testN751054, "n751054.docx")

Reply via email to