From 0d65937eefd8fbd8f8d08571266f1dcd5c10c6c4 Mon Sep 17 00:00:00 2001
From: Jan Holesovsky <kendy@collabora.com>
Date: Fri, 5 Feb 2016 16:54:31 +0100
Subject: lok: Search result should contain info if it is a 'search all'
 result.

Change-Id: Ia3ee81ced4f74c0d029a478bd59eff44d72ef327
---
 sc/source/ui/view/viewfun2.cxx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sc')

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)
-- 
cgit