From 9328df9598286a94f0cf097462045a3c0a5721fc Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 27 May 2015 14:09:18 +0200 Subject: sd tiled rendering: avoid showing wrap around dialog Change-Id: Id977c3a17f5e34d086ee3b68fa9ad2969f9d24c2 --- sd/source/ui/view/Outliner.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sd') diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 24031eff997c..60873d00a0ef 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1098,6 +1098,14 @@ bool Outliner::ShowWrapArroundDialog() // Spell checking needs the dialog, too. bShowDialog = (meMode == SPELL); + boost::shared_ptr pViewShell(mpWeakViewShell.lock()); + if (pViewShell && pViewShell->GetDoc()->isTiledRendering()) + { + // Wrap around without asking anything. + bShowDialog = false; + bDoWrapArround = true; + } + if (bShowDialog) { // The question text depends on the search direction. -- cgit v1.2.3