diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-14 15:39:07 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-14 15:39:07 +0200 |
commit | ad280b67f8fda8f832a6a83bc5665df448c6ad00 (patch) | |
tree | e029285dafeba4276bb66c224ecc734b54367a97 /sc/source | |
parent | dd1fc2242a64a0b9ae8031a5edc7ecfcde4ec3df (diff) |
LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payload
Without that, the result in Calc/Impress is ambiguous.
Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index b3068230e02d..9f808d0fd16b 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1865,7 +1865,8 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, for (const Rectangle& rLogicRect : aLogicRects) { boost::property_tree::ptree aSelection; - aSelection.put("", rLogicRect.toString().getStr()); + aSelection.put("part", OString::number(nTab).getStr()); + aSelection.put("rectangles", rLogicRect.toString().getStr()); aSelections.push_back(std::make_pair("", aSelection)); } aTree.add_child("searchResultSelection", aSelections); |