Kaydet (Commit) 6e002280 authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino

#i107619# update search result while repeating search

üst 58c7172e
...@@ -194,13 +194,13 @@ sal_Bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW ...@@ -194,13 +194,13 @@ sal_Bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW
else if (bDoBack) else if (bDoBack)
{ {
xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp; xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp;
bRepeat = ((sal_Bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd))); bRepeat = ((sal_Bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult)));
// change results to definition before 614: // change results to definition before 614:
--nEnd; --nEnd;
} }
else else
{ {
bRepeat = ((sal_Bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd))); bRepeat = ((sal_Bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult)));
// change results to definition before 614: // change results to definition before 614:
--nEnd; --nEnd;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment