summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-02-05 16:54:31 +0100
committerMarco Cecchetti <marco.cecchetti@collabora.com>2016-02-06 12:34:34 +0100
commit0d65937eefd8fbd8f8d08571266f1dcd5c10c6c4 (patch)
tree09507d55b88342eb753766f3ec76415af1311016 /sc
parent88730cdae3520b18fc073dc59bd0ed660e15d6b4 (diff)
lok: Search result should contain info if it is a 'search all' result.
Change-Id: Ia3ee81ced4f74c0d029a478bd59eff44d72ef327
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 8037a5444c06..b264886eddb7 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1860,6 +1860,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
boost::property_tree::ptree aTree;
aTree.put("searchString", pSearchItem->GetSearchString().toUtf8().getStr());
+ aTree.put("highlightAll", nCommand == SvxSearchCmd::FIND_ALL);
boost::property_tree::ptree aSelections;
for (const Rectangle& rLogicRect : aLogicRects)