CppunitTest_sw_tiledrendering2: make this more stable, try 3

I got the workaround condition wrong in commit
d248d8f527
(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 <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna
2024-12-18 09:01:26 +01:00
parent 23cf7f503e
commit 02ab907ef7

View File

@@ -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;
}