From f36baa475515fd08b53c4a677e8fbd5cf0fec0a1 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Tue, 23 Mar 2021 14:53:05 +0100 Subject: Revert "Remove this unreliable check." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cb0dfff9a49530f348223e1df54762a3da61aa51. Change-Id: I10434f0cab65825532b2adff9a0961067d3dba7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112996 Tested-by: Tamás Zolnai Reviewed-by: Tamás Zolnai --- sd/qa/unit/tiledrendering/tiledrendering.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sd/qa/unit') diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx index 107fc9364680..d553dfce610f 100644 --- a/sd/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx @@ -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); -- cgit