diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-12 14:25:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-12 14:25:18 +0200 |
commit | ca3436723455a0d0f3ced6f33b646b7c79ab05a1 (patch) | |
tree | 9be701fed0ed28914a4c98fc425a9336432f4474 /sd/source/ui/view/drviews1.cxx | |
parent | 27fa10fa53c7ff28c2636b6b49118c87c822f2fd (diff) |
sd tiled rendering: make invalidation in DrawViewShell::SwitchPage() optional
In case of tiled rendering clients already get LOK_CALLBACK_SET_PART
when switching slides, so it's pointless to additionally invalidate
windows for help lines.
Change-Id: Ibc15c9862ae85bd72328161fa5f7e72d82fd2a97
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r-- | sd/source/ui/view/drviews1.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index cf146aef2fd8..0ff2d8bcad28 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -992,7 +992,8 @@ bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage) } else { - pNewPageView->SetHelpLines( mpFrameView->GetStandardHelpLines() ); + bool bInvalidate = !comphelper::LibreOfficeKit::isActive(); + pNewPageView->SetHelpLines( mpFrameView->GetStandardHelpLines(), bInvalidate ); } } |