diff options
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index bcf019e548f2..d71df17790eb 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -1639,6 +1639,7 @@ void DesktopLOKTest::testPaintPartTile() // the first view, so there were no invalidations. CPPUNIT_ASSERT(aView1.m_bTilesInvalidated); + Scheduler::ProcessEventsToIdle(); mxComponent->dispose(); mxComponent.clear(); comphelper::LibreOfficeKit::setActive(false); @@ -1678,6 +1679,7 @@ void DesktopLOKTest::testWriterCommentInsertCursor() // inserted the comment. CPPUNIT_ASSERT(aView1.m_aOwnCursor.IsEmpty()); + Scheduler::ProcessEventsToIdle(); mxComponent->dispose(); mxComponent.clear(); comphelper::LibreOfficeKit::setActive(false); |