diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-20 17:35:17 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-23 09:19:07 +0100 |
commit | 7b8a59807806dbf6ec759a836c873b435e09e907 (patch) | |
tree | f221c5bc1830cc3237e857cf01b4073bff2e6773 /sd/source/ui/view/viewshe2.cxx | |
parent | 35cf00e20ad5826f715f5d5bbc48d486228774ca (diff) |
sd: when tiled rendering, disable map mode early
This brings sd in sync with sw, that does the same for some time
already. With this, we no longer do a complete repaint 6 times after
every postMouseEvent().
Change-Id: I38754f4bdbb977abbdbb0f32e1460ab2f6290f87
Diffstat (limited to 'sd/source/ui/view/viewshe2.cxx')
-rw-r--r-- | sd/source/ui/view/viewshe2.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 71d26c58ddb9..f6d25df97e1e 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -392,8 +392,10 @@ void ViewShell::SetZoomRect(const Rectangle& rZoomRect) mpContentWindow->SetWinViewPos(aNewPos); mpContentWindow->UpdateMapOrigin(); - // #i74769# see above - mpContentWindow->Invalidate(INVALIDATE_CHILDREN); + // When tiled rendering, UpdateMapOrigin() doesn't touch the map mode. + if (!GetDoc()->isTiledRendering()) + // #i74769# see above + mpContentWindow->Invalidate(INVALIDATE_CHILDREN); } Size aVisSizePixel = GetActiveWindow()->GetOutputSizePixel(); |