summaryrefslogtreecommitdiff
path: root/sd/source/filter/eppt/eppt.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-09-22 15:27:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-09-22 20:27:04 +0200
commitba3d6d8a39d31316923d2326059c07b0a7e3c05e (patch)
treebc247bdff9035fea03e9fb35546cb8abed8fed9f /sd/source/filter/eppt/eppt.hxx
parentc6fc963c534bc9069ef975246e5d619777b9f570 (diff)
sd lok: fix pixel-to-logic conversion in DrawViewShell::MakeVisible()
The problem, as seen by the user is that during shape text edit, sometimes just traveling with the cursor causes invalidations, which is unexpected. What happens is sd::Window::KeyInput() invokes sd::DrawViewShell::MakeVisible(), which does a pixel-to-logic conversion, but because the map mode is in general disabled in the LOK case, nothing happens. Then a bit later aVisArea.IsInside(rRect) fails, as it compares pixel and logic units, which results in sd::ViewOverlayManager::UpdateTags() scheduling an async call to sd::ViewOverlayManager::UpdateTagsHdl(), which at the end causes a full invalidation in sd::SmartTagSet::remove(). Fix the situation by temporarily enabling map mode, so we don't detect a visible cursor area as a non-visible one. Change-Id: I6d16f24d13143dc263a89317fbc38111e652c0ac
Diffstat (limited to 'sd/source/filter/eppt/eppt.hxx')
0 files changed, 0 insertions, 0 deletions