summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/XTempFile.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-07-15 12:02:57 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-15 16:07:35 +0200
commit5a3653f87502e40cf00d8f1ed1c0ecf5a979e67d (patch)
treec7d9c0fa638a4ecb3ff917f423bd6ffcd727d372 /unotools/source/ucbhelper/XTempFile.hxx
parent6e72f0251bb8767942edf74f612547c12ca0cdf1 (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 'unotools/source/ucbhelper/XTempFile.hxx')
0 files changed, 0 insertions, 0 deletions