diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-02-05 16:54:31 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-02-05 16:55:18 +0100 |
commit | e54f49d65888e180118992c33f7348d6e08b3e20 (patch) | |
tree | b0b3a0979df696ed7e1234df9ad80429194ab6a9 /sd | |
parent | 62045eea2cbab575c92082cf0c724be7849a2db3 (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.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 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; |