Revert "Remove this unreliable check."

This reverts commit cb0dfff9a4.

Change-Id: I10434f0cab65825532b2adff9a0961067d3dba7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112996
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
Tamás Zolnai 2021-03-23 14:53:05 +01:00
parent 5e1b3e924a
commit f36baa4755

View file

@ -1061,6 +1061,9 @@ void SdTiledRenderingTest::testCursorViews()
// text edit in the first view.
ViewCallback aView2;
SfxLokHelper::setView(nView1);
// This failed: the second view didn't get a lock notification, even if the
// first view already started text edit.
CPPUNIT_ASSERT(aView2.m_bViewLock);
aView2.m_bTilesInvalidated = false;
pXImpressDocument->postKeyEvent(LOK_KEYEVENT_KEYINPUT, 'x', 0);
pXImpressDocument->postKeyEvent(LOK_KEYEVENT_KEYUP, 'x', 0);