summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-02-05 16:54:31 +0100
committerJan Holesovsky <kendy@collabora.com>2016-02-05 16:55:18 +0100
commite54f49d65888e180118992c33f7348d6e08b3e20 (patch)
treeb0b3a0979df696ed7e1234df9ad80429194ab6a9 /sd
parent62045eea2cbab575c92082cf0c724be7849a2db3 (diff)
lok: Search result should contain info if it is a 'search all' result.cp-5.0-22
Change-Id: Ia3ee81ced4f74c0d029a478bd59eff44d72ef327
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/Outliner.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index ed3f4790da21..b4b0d246c4b8 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -669,6 +669,7 @@ bool Outliner::SearchAndReplaceAll()
{
boost::property_tree::ptree aTree;
aTree.put("searchString", mpSearchItem->GetSearchString().toUtf8().getStr());
+ aTree.put("highlightAll", true);
boost::property_tree::ptree aChildren;
for (const SearchSelection& rSelection : aSelections)
@@ -817,6 +818,7 @@ bool Outliner::SearchAndReplaceOnce(std::vector<SearchSelection>* pSelections)
// also about search result selections
boost::property_tree::ptree aTree;
aTree.put("searchString", mpSearchItem->GetSearchString().toUtf8().getStr());
+ aTree.put("highlightAll", false);
boost::property_tree::ptree aChildren;
boost::property_tree::ptree aChild;