sw/qa/extras/globalfilter/globalfilter.cxx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-)
New commits: commit 3dca9cef368e4ef319484aa4aee1d99a92198c35 Author: Xisco Fauli <[email protected]> AuthorDate: Sun Feb 15 22:36:15 2026 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Feb 16 08:35:56 2026 +0100 CppunitTest_sw_globalfilter: simplify a bit Change-Id: Ia6f33039774f7d4835ae9d36fd012db76e658f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199436 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx index 47d81ecce784..03f52cd58d61 100644 --- a/sw/qa/extras/globalfilter/globalfilter.cxx +++ b/sw/qa/extras/globalfilter/globalfilter.cxx @@ -1110,13 +1110,9 @@ CPPUNIT_TEST_FIXTURE(Test, testODF13) // export ODF 1.2 extended SetODFDefaultVersion(SvtSaveOptions::ODFDefaultVersion::ODFVER_012_EXTENDED); - // FIXME: it's not possible to use 'reload' here because the validation fails with - // Error: unexpected attribute "loext:contextual-spacing" - comphelper::SequenceAsHashMap aMediaDescriptor; - aMediaDescriptor[u"FilterName"_ustr] <<= u"writer8"_ustr; - - uno::Reference<frame::XStorable> const xStorable(mxComponent, uno::UNO_QUERY); - xStorable->storeToURL(maTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList()); + // FIXME: Error: unexpected attribute "loext:contextual-spacing" + skipValidation(); + saveAndReload(TestFilter::ODT); // check XML xmlDocUniquePtr pContentXml = parseExport(u"content.xml"_ustr); @@ -1133,9 +1129,6 @@ CPPUNIT_TEST_FIXTURE(Test, testODF13) assertXPath(pStylesXml, "/office:document-styles/office:master-styles/style:master-page/loext:footer-first"); assertXPath(pStylesXml, "/office:document-styles/office:master-styles/style:master-page/style:footer-first", 0); - // reload - loadFromURL(maTempFile.GetURL()); - // check model verifyText13("1.2 Extended reload"); }
