sw/qa/extras/odfexport/odfexport2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9668c9b8fe1d4afba335ab1f9d3309ad91bd56da
Author:     László Németh <nem...@numbertext.org>
AuthorDate: Sat May 11 13:27:24 2024 +0200
Commit:     László Németh <nem...@numbertext.org>
CommitDate: Sat May 11 13:58:57 2024 +0200

    tdf#132599 sw: fix test of "fix hyphenation-keep for tables and no widow"
    
    Follow-up to commit a4970f4eeb94b8c405c5e3ec094d47061253efac
    "tdf#132599 sw: fix hyphenation-keep for tables and no widow".
    
    Change-Id: I94f2028fbc0f74b606fce2e921140ae9698955e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167507
    Tested-by: László Németh <nem...@numbertext.org>
    Reviewed-by: László Németh <nem...@numbertext.org>

diff --git a/sw/qa/extras/odfexport/odfexport2.cxx 
b/sw/qa/extras/odfexport/odfexport2.cxx
index 58e528e06df0..943f53d624d6 100644
--- a/sw/qa/extras/odfexport/odfexport2.cxx
+++ b/sw/qa/extras/odfexport/odfexport2.cxx
@@ -249,7 +249,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf132599_page_in_table)
     CPPUNIT_ASSERT_EQUAL(3, getPages());
 
     xmlDocUniquePtr pXmlDoc = parseExport("content.xml");
-    assertXPath(pXmlDoc, 
"//style:style[@style:family='paragraph']/style:paragraph-properties[@loext:hyphenation-keep-type='always']"_ostr,
 1);
+    assertXPath(pXmlDoc, 
"//style:style[@style:family='paragraph']/style:paragraph-properties[@loext:hyphenation-keep-type='page']"_ostr,
 1);
 }
 
 CPPUNIT_TEST_FIXTURE(Test, testTdf158885_compound_remain)

Reply via email to