diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-15 12:02:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-15 16:07:35 +0200 |
commit | 5a3653f87502e40cf00d8f1ed1c0ecf5a979e67d (patch) | |
tree | c7d9c0fa638a4ecb3ff917f423bd6ffcd727d372 /accessibility | |
parent | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (diff) |
sw lok: fix shape text editing with multiple views
When changing the active view shell,
sw::DocumentLayoutManager::GetCurrentViewShell() is not instantly
updated, only when e.g. the focus changes. This means that calling
setView() + paintTile() pairs on random views typically did not use the
matching view shell, but the last one. This has a visible effect when
editing shape text, as the non-text-edit views had the outdated shape
text visible, unlike on the desktop.
Fix the problem by using SwDocShell::GetWrtShell() instead.
Change-Id: Ia4b67d0a8931692ed4fc5c5e97cc1a09ef81e647
Diffstat (limited to 'accessibility')
0 files changed, 0 insertions, 0 deletions