diff options
-rw-r--r-- | sc/source/core/data/table6.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx index 45bf02e34e5b..f4dc35ebfc1a 100644 --- a/sc/source/core/data/table6.cxx +++ b/sc/source/core/data/table6.cxx @@ -202,13 +202,13 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo else if (bDoBack) { xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp; - bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd))); + bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult))); // change results to definition before 614: --nEnd; } else { - bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd))); + bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult))); // change results to definition before 614: --nEnd; } |