CppunitTest_sw_uiwriter4: remove unneded Scheduler::ProcessEventsToIdle()

Added with 17b2f3d96f
"tdf#143320, tdf#143387: sw_uiwriter4: Add unittest"

Change-Id: I13dc9a540a37edf9e089df5af14342bc9032ee02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166999
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Xisco Fauli 2024-05-02 10:42:18 +02:00
parent 091c671832
commit 01f19161e9

View file

@ -2597,7 +2597,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf143320)
CPPUNIT_ASSERT(getParagraph(1)->getString().startsWith("x"));
dispatchCommand(mxComponent, ".uno:Undo", {});
Scheduler::ProcessEventsToIdle();
CPPUNIT_ASSERT_EQUAL(1, getPages());
CPPUNIT_ASSERT_EQUAL(OUString(""), getParagraph(1)->getString());