sw/qa/extras/tiledrendering/tiledrendering2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 361e3f17217b87aa34a6e07fd85811132b59378a Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Dec 18 09:01:26 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Jan 7 10:12:14 2025 +0100 CppunitTest_sw_tiledrendering2: make this more stable, try 3 I got the workaround condition wrong in commit d248d8f5271c380e51af9482b6724d471e2cb929 (CppunitTest_sw_tiledrendering2: try to make this more stable, 2024-11-20), the intent was to return early when we get no state changes, but we did the early return when there *were* state changes, fix this. Change-Id: I90abcec062c59360642da87069911f937cc2110a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178706 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> (cherry picked from commit 02ab907ef7f8ad8d4b0d31baead9d1749669e812) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179860 Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/tiledrendering/tiledrendering2.cxx b/sw/qa/extras/tiledrendering/tiledrendering2.cxx index 767aee6d15a6..112d0ce90c1d 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering2.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering2.cxx @@ -75,7 +75,7 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testStatusBarPageNumber) // Then make sure the page number in view 2 is correct: // FIXME this should not happen, but it does from time to time. - if (!aView2.m_aStateChanges.empty()) + if (aView2.m_aStateChanges.empty()) { return; }