sw/qa/extras/tiledrendering/tiledrendering.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 24e8473094839ca43a4347f843c55cfd2e12cc67
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Thu Mar 2 22:14:36 2023 -0500
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Mon Mar 6 20:12:33 2023 +0000

    fix build tests: make CppunitTest_sw_tiledrendering
    
    The problem appears to be that the backporting was done from
    22.05's patch instead of from master's patch.
    
    Change-Id: I2446fa190fc3b21def10df05a615664896ef8dea
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148151
    Reviewed-by: Justin Luth <jl...@mail.com>
    Tested-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx 
b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 4799612d120d..d756998d470a 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -3868,7 +3868,7 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, 
testAuthorField)
 
     xmlDocUniquePtr pXmlDoc = parseLayoutDump();
 
-    assertXPath(pXmlDoc, "/root/page[1]/body/txt[1]/Special[1]", "rText", 
sAuthor);
+    assertXPath(pXmlDoc, 
"/root/page[1]/body/txt[1]/SwParaPortion[1]/SwLineLayout[1]/SwFieldPortion[1]", 
"expand", sAuthor);
 }
 
 CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testSavedAuthorField)
@@ -3884,7 +3884,7 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, 
testSavedAuthorField)
     Scheduler::ProcessEventsToIdle();
 
     xmlDocUniquePtr pXmlDoc = parseLayoutDump();
-    assertXPath(pXmlDoc, "/root/page[1]/body/txt[1]/Special[1]", "rText", 
sAuthor);
+    assertXPath(pXmlDoc, 
"/root/page[1]/body/txt[1]/SwParaPortion[1]/SwLineLayout[1]/SwFieldPortion[1]", 
"expand", sAuthor);
 }
 
 CPPUNIT_PLUGIN_IMPLEMENT();

Reply via email to