diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-07-11 20:11:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-07-12 09:56:59 +0200 |
commit | 54d69f55d13ec39e1b2a2a6883b98cd23c6609a4 (patch) | |
tree | a149ea3336b1c0184cae5e0ecfaa63cd7e4e4f00 /sw | |
parent | 94e6049b6467d9bc1e52a1a80c7cf1a5f138e82d (diff) |
CppunitTest_sw_htmlexport: clean up not needed reqif part of preTest()
All reqif tests set the filter options explicitly already.
Change-Id: I50e437c9922feaff94ce331df416114e25ac6aa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154339
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/htmlexport/htmlexport.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index d5c68498bb8f..f58105b55d4b 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -205,20 +205,6 @@ public: private: virtual std::unique_ptr<Resetter> preTest(const char* filename) override { - if (getTestName().indexOf("ReqIf") != -1) - { - if (o3tl::ends_with(filename, ".xhtml")) - { - setImportFilterOptions("xhtmlns=reqif-xhtml"); - // Bypass filter detect. - setImportFilterName("HTML (StarWriter)"); - } - // Export options (implies XHTML). - setFilterOptions("xhtmlns=reqif-xhtml"); - } - else - setFilterOptions(""); - if (filename == std::string_view("charborder.odt")) { // FIXME if padding-top gets exported as inches, not cms, we get rounding errors. |