diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-14 11:22:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-14 15:06:42 +0100 |
commit | 70c946d1682d019e12cd447fdf4d6a523b899ba4 (patch) | |
tree | 2dbe0dcf13518b311e35c7fb355f1f5a952e94db /sd | |
parent | 83c540d275e351b1979f7b59be8aad728bca6dc0 (diff) |
sd tiled rendering: it's pointless to send selection changes during search all
But they do cause annoying flashing.
(cherry picked from commit b9565ef0a73c235cd1e14fce9031db6e9237c524)
Conflicts:
include/svx/svdmodel.hxx
svx/source/svdraw/svdmodel.cxx
Change-Id: Ic313a15429c5db98c5660a5274aa49e95dd217e5
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index c16ba31e6ccd..76b1272fd0d0 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -631,6 +631,7 @@ bool Outliner::SearchAndReplaceAll() } else if (pViewShell->ISA(DrawViewShell)) { + pViewShell->GetDoc()->setTiledSearching(true); // Go to beginning/end of document. maObjectIterator = ::sd::outliner::OutlinerContainer(this).begin(); // Switch to the first object which contains the search string. @@ -680,6 +681,7 @@ bool Outliner::SearchAndReplaceAll() OString aPayload = aStream.str().c_str(); pViewShell->GetDoc()->libreOfficeKitCallback(LOK_CALLBACK_SEARCH_RESULT_SELECTION, aPayload.getStr()); } + pViewShell->GetDoc()->setTiledSearching(false); } RestoreStartPosition (); |